/* Login Page Styles - Updated Version */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Left Panel - Brand Section */
.brand-panel {
  display: none;
}

.brand-content {
  text-align: center;
  color: white;
  z-index: 1;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.logo-icon {
  font-size: 52px;
}

.logo-text {
  font-size: 36px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.brand-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-description {
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.7;
  max-width: 450px;
  font-weight: 400;
}

/* Right Panel - Login Form */
.login-panel {
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.login-card {
  background: #1a1a1a;
  padding: 64px 80px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 600px;
}

.login-card h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.form-group input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #444444;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #262626;
  color: #ffffff;
}

.form-group input::placeholder {
  color: #666666;
}

.form-group input:focus {
  outline: none;
  border-color: #48E5C2;
  background: #333333;
  box-shadow: 0 0 0 3px rgba(72, 229, 194, 0.1);
}

.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666666;
  padding: 4px;
  font-size: 18px;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #999999;
}

.forgot-password {
  text-align: left;
  margin-bottom: 32px;
  margin-top: -8px;
}

.forgot-password a {
  color: #999999;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  font-weight: 500;
}

.forgot-password a:hover {
  color: #48E5C2;
}

.login-button {
  width: 100%;
  padding: 18px;
  background: #48E5C2;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.login-button:hover {
  background: #3dd4b1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 229, 194, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

.signup-link {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: #999999;
}

.signup-link a {
  color: #48E5C2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.signup-link a:hover {
  color: #3dd4b1;
  text-decoration: underline;
}

/* Error Message */
.error-message {
  background: #ffe8e8;
  color: #d32f2f;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #d32f2f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-message::before {
  content: '⚠️';
  font-size: 16px;
}

/* Success Message */
.success-message {
  background: #e8f7f5;
  color: #00897b;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #48E5C2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-message::before {
  content: '✓';
  font-size: 16px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 968px) {
  .login-container {
    flex-direction: column;
  }

  .brand-panel {
    padding: 40px 24px;
    min-height: 40vh;
  }

  .brand-title {
    font-size: 40px;
  }

  .brand-description {
    font-size: 16px;
  }

  .login-panel {
    padding: 24px 20px;
  }

  .login-card {
    padding: 36px 28px;
  }

  .login-card h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 32px;
  }

  .logo-section {
    margin-bottom: 32px;
  }

  .login-card {
    padding: 28px 24px;
  }
}
