* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background: #ffffff;
  color: #333333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

/* Modern Header - Classic Colors */
.header {
  padding: 20px 40px;
  border-bottom: 1px solid #e6e6e6;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2C3E50, #4A6572);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #2C3E50;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 22px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  background: #f8f9fa;
}

.nav-link.active {
  color: #2C3E50;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #2C3E50;
  border-radius: 50%;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 80px);
}

/* Left Side - Background Image */
.background-section {
  flex: 1;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../images/login2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.background-section:hover {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url('../images/login2.jpg');
  background-size: 105% 105%;
  background-position: center;
}

.background-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08));
  transform: skewX(-8deg);
  z-index: 1;
}

.hero-text {
  max-width: 580px;
  position: relative;
  z-index: 2;
  animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-text p {
  font-size: 19px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.features {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  opacity: 0.95;
}

.feature i {
  font-size: 18px;
  color: #D4AF37; /* Classic gold color */
}

/* Right Side - Login Form */
.login-section {
  flex: 1;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.login-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.6), rgba(252, 252, 252, 0.4));
  z-index: 0;
}

.login-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  animation: slideInRight 0.8s ease-out;
}

.login-header {
  margin-bottom: 44px;
}

.login-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.login-header p {
  color: #666666;
  font-size: 17px;
  font-weight: 400;
}

/* Form Styles - Classic Colors */
.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 26px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #2C3E50;
  transition: color 0.2s ease;
}

.form-group.focused .form-label {
  color: #4A6572;
}

.form-input {
  width: 100%;
  padding: 18px;
  border: 2px solid #d1d5db;
  border-radius: 14px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #ffffff;
  font-weight: 400;
}

.form-input:focus {
  outline: none;
  border-color: #4A6572;
  box-shadow: 0 0 0 3px rgba(74, 101, 114, 0.1);
  background: #ffffff;
}

.form-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toggle-password:hover {
  background: #f3f4f6;
  color: #333333;
}

/* Forgot Password */
.forgot-password {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 14px;
  color: #666666;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.forgot-password:hover {
  color: #4A6572;
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
  accent-color: #4A6572;
}

.checkbox-container input[type="checkbox"]:checked {
  background-color: #4A6572;
  border-color: #4A6572;
}

.checkbox-container label {
  font-size: 15px;
  color: #333333;
  cursor: pointer;
  font-weight: 500;
}

/* Submit Button - Classic Color */
.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #4A6572, #2C3E50);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.15);
  background: linear-gradient(135deg, #3a5566, #1c2e40);
}

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

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn i {
  font-size: 16px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 36px 0;
  color: #666666;
  font-size: 15px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.divider span {
  padding: 0 20px;
  font-weight: 500;
}

/* Social Login */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-btn {
  width: 100%;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #333333;
}

.social-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.social-btn i {
  font-size: 18px;
}

.social-btn.google {
  color: #DB4437;
}

.social-btn.facebook {
  color: #4267B2;
}

/* Sign Up Link */
.signup-link {
  text-align: center;
  margin-top: 36px;
  color: #666666;
  font-size: 15px;
  font-weight: 400;
}

.signup-link a {
  color: #4A6572;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.signup-link a:hover {
  color: #2C3E50;
}

.signup-link a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4A6572;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.signup-link a:hover::after {
  transform: scaleX(1);
}

/* Footer - Classic Colors */
.footer {
  padding: 24px 40px;
  border-top: 1px solid #e6e6e6;
  background: #f8f9fa;
  font-size: 14px;
  color: #666666;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: #333333;
  text-decoration: underline;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .background-section {
    padding: 50px;
  }
  
  .hero-text h1 {
    font-size: 44px;
  }
  
  .login-section {
    padding: 50px;
  }
}

@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }
  
  .background-section {
    padding: 40px;
    min-height: 400px;
    background-attachment: scroll;
  }
  
  .hero-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 40px;
  }
  
  .features {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .login-section {
    padding: 40px;
  }
  
  .login-container {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 18px 24px;
  }
  
  .nav-links {
    gap: 16px;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .background-section {
    padding: 32px 24px;
    min-height: 350px;
  }
  
  .hero-text h1 {
    font-size: 34px;
  }
  
  .hero-text p {
    font-size: 17px;
  }
  
  .login-section {
    padding: 32px 24px;
  }
  
  .login-header h2 {
    font-size: 30px;
  }
  
  .footer {
    padding: 20px 24px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 22px;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-text p {
    font-size: 16px;
  }
  
  .features {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .login-header h2 {
    font-size: 26px;
  }
  
  .login-header p {
    font-size: 16px;
  }
  
  .form-input {
    padding: 16px;
  }
  
  .submit-btn {
    padding: 16px;
  }
}

/* Registration Page Specific Styles - Classic Colors */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.form-group.half {
  flex: 1;
}

.input-hint {
  font-size: 13px;
  color: #666666;
  margin-top: 6px;
  font-weight: 400;
}

.password-strength {
  margin-top: 12px;
}

.strength-meter {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.strength-bar {
  height: 100%;
  width: 0%;
  background: #dc3545;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 12px;
  color: #666666;
  font-weight: 500;
}

.password-match {
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.password-match.success {
  color: #28a745;
}

.password-match.error {
  color: #dc3545;
}

/* Account Type Selection - Classic Colors */
.account-type {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.account-type-option {
  flex: 1;
}

.account-type-option input {
  display: none;
}

.account-type-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
}

.account-type-card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.account-type-card.selected {
  border-color: #4A6572;
  background: linear-gradient(135deg, rgba(74, 101, 114, 0.03), rgba(44, 62, 80, 0.03));
  box-shadow: 0 4px 15px rgba(74, 101, 114, 0.1);
}

.account-type-card i {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4A6572, #2C3E50);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-type-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 4px;
}

.account-type-card p {
  font-size: 13px;
  color: #666666;
  font-weight: 400;
}

/* Terms and Conditions */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox-container label {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
  font-weight: 400;
}

.inline-link {
  color: #4A6572;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.inline-link:hover {
  color: #2C3E50;
  text-decoration: underline;
}

/* Date of Birth Field */
.date-of-birth {
  display: flex;
  gap: 10px;
}

.date-select {
  flex: 1;
}

.date-select select {
  width: 100%;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  font-size: 16px;
  background: white;
  color: #333333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.date-select select:focus {
  outline: none;
  border-color: #4A6572;
  box-shadow: 0 0 0 3px rgba(74, 101, 114, 0.1);
}

.date-select label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2C3E50;
}

/* Responsive adjustments for registration */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .account-type {
    flex-direction: column;
  }
  
  .account-type-card {
    padding: 16px;
  }
  
  .checkbox-container label {
    font-size: 13px;
  }
}

/* Forgot Password Specific Styles - Classic Colors */
.reset-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #666666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: linear-gradient(135deg, #4A6572, #2C3E50);
  color: white;
  transform: scale(1.1);
}

.step-text {
  font-size: 12px;
  color: #666666;
  font-weight: 500;
  text-align: center;
}

.step.active .step-text {
  color: #2C3E50;
  font-weight: 600;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #f3f4f6;
  margin: 0 10px;
}

/* Success Message - Classic Colors */
.success-message {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 64px;
  color: #28a745;
  margin-bottom: 24px;
  animation: bounceIn 0.6s ease;
}

.success-message h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 12px;
}

.success-message p {
  color: #666666;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.success-hint {
  font-size: 14px;
  color: #999999;
  margin-top: 16px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.btn-secondary {
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  transform: translateY(-2px);
}

.btn-tertiary {
  padding: 16px;
  border: none;
  background: transparent;
  color: #666666;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-tertiary:hover {
  color: #333333;
}

/* Alternative Options */
.alternative-options {
  margin: 24px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 14px;
}

.alternative-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666666;
  font-size: 15px;
  margin-bottom: 8px;
}

.alternative-text i {
  color: #4A6572;
  font-size: 18px;
}

.text-link {
  color: #4A6572;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  margin-left: 4px;
}

.text-link:hover {
  color: #2C3E50;
  text-decoration: underline;
}

.text-link.small {
  font-size: 14px;
}

/* Back to Login */
.back-to-login {
  margin-top: 32px;
  text-align: center;
}

.back-link {
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.back-link i {
  font-size: 14px;
}

/* Reset Code Input */
.code-input-container {
  position: relative;
}

.code-input {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4px;
  text-align: center;
  padding: 20px;
}

.code-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
}

.timer {
  color: #666666;
  font-weight: 600;
  font-family: monospace;
}

/* Password Requirements */
.password-requirements {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
}

.requirements-title {
  font-size: 14px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 12px;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666666;
  margin-bottom: 8px;
}

.requirement i {
  font-size: 12px;
}

/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  animation: fadeIn 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reset-steps {
    padding: 0 10px;
  }
  
  .step-text {
    font-size: 11px;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .success-message h3 {
    font-size: 24px;
  }
  
  .alternative-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .code-input {
    font-size: 20px;
    letter-spacing: 2px;
    padding: 16px;
  }
}