* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #fff;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-box {
  background: linear-gradient(145deg, #141414 0%, #0d0d0d 100%);
  border: 1px solid rgba(183, 142, 86, 0.2);
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.logo-header {
  margin-bottom: 40px;
  text-align: center;
}

.logo-top {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3.5px;
  color: #ffffff;
  margin-bottom: 4px;
}

.logo-main {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(180deg, #8b7355 0%, #c4a67c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.05);
  padding: 5px;
  border-radius: 10px;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.5);
}

.tab-btn:hover {
  color: rgba(255,255,255,0.8);
}

.tab-btn.active {
  background: linear-gradient(135deg, #b78e56 0%, #8b6914 100%);
  color: #fff;
}

/* Forms */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.input-group input:focus {
  border-color: #b78e56;
  background: rgba(183, 142, 86, 0.05);
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.3);
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #b78e56 0%, #8b6914 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(183, 142, 86, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.register-btn {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(183, 142, 86, 0.3);
}

.register-btn:hover {
  background: linear-gradient(135deg, #b78e56 0%, #8b6914 100%);
  border-color: transparent;
}

.reset-btn {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(183, 142, 86, 0.3);
}

.reset-btn:hover {
  background: linear-gradient(135deg, #b78e56 0%, #8b6914 100%);
  border-color: transparent;
}

.form-info {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.forgot-password {
  display: block;
  text-align: right;
  margin-top: 8px;
  color: #b78e56;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.forgot-password:hover {
  color: #d4a85a;
  text-decoration: underline;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #b78e56;
}

/* Messages */
.message {
  font-size: 14px;
  margin-top: 15px;
  min-height: 20px;
  padding: 12px;
  border-radius: 8px;
}

.message.error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.message.success {
  color: #51cf66;
  background: rgba(81, 207, 102, 0.1);
  border: 1px solid rgba(81, 207, 102, 0.2);
}

/* Responsive */
@media (max-width: 480px) {
  .login-box {
    padding: 35px 25px;
  }
  
  .tabs {
    flex-direction: column;
  }
}
