.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #013330 0%, #577C78 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
  }
  
  .auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(71, 242, 247, 0.1);
    border-radius: 50%;
  }
  
  .auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(219, 117, 68, 0.1);
    border-radius: 50%;
  }
  
  .auth-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
  }
  
  .auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  
  .auth-header {
    text-align: center;
    padding: 50px 40px 30px;
    background: linear-gradient(135deg, rgba(1, 51, 48, 0.03) 0%, rgba(87, 124, 120, 0.03) 100%);
  }
  
  .auth-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #013330 0%, #577C78 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(1, 51, 48, 0.2);
  }
  
  .auth-logo i {
    font-size: 36px;
    color: white;
  }
  
  .auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #013330;
    margin-bottom: 8px;
  }
  
  .auth-header p {
    font-size: 15px;
    color: #666B6B;
  }
  
  .auth-body {
    padding: 40px;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #013330;
    margin-bottom: 10px;
  }

  .form-input-wrapper {
    position: relative;
  }
  
  .form-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #577C78;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s;
  }
  
  .form-input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 2px solid #e8f0ef;
    border-radius: 12px;
    font-size: 16px; /* Changed to 16px for iOS */
    color: #013330;
    background: #f8fafa;
    transition: all 0.3s ease;
  }
  
  .form-input:focus {
    outline: none;
    border-color: #577C78;
    background: white;
    box-shadow: 0 0 0 4px rgba(87, 124, 120, 0.1);
  }
  
  .form-input:focus + .form-input-icon {
    color: #DB7544;
  }
  
  .form-input::placeholder {
    color: #999;
  }
  
  .password-strength {
    margin-top: 10px;
    font-size: 13px;
  }
  
  .strength-meter {
    height: 4px;
    background: #e8f0ef;
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
  }
  
  .strength-meter-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .strength-text {
    color: #666B6B;
    font-weight: 500;
  }
  
  .terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #577C78;
    flex-shrink: 0;
    margin-top: 3px;
  }
  
  .terms-checkbox label {
    font-size: 14px;
    color: #666B6B;
    cursor: pointer;
    user-select: none;
    line-height: 1.6;
  }
  
  .terms-checkbox a {
    color: #577C78;
    text-decoration: none;
    font-weight: 600;
  }
  
  .terms-checkbox a:hover {
    color: #DB7544;
  }

  .btn-register, .btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #DB7544 0%, #013330 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(219, 117, 68, 0.3);
  }
  
  .btn-register:hover, .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(219, 117, 68, 0.4);
  }
  
  .btn-register:active, .btn-login:active {
    transform: translateY(0);
  }
  
  .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #666B6B;
    font-size: 14px;
  }
  
  .divider::before,
  .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e8f0ef;
  }
  
  .divider span {
    padding: 0 15px;
  }
  
  .social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e8f0ef;
    border-radius: 10px;
    background: white;
    color: #666B6B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .social-btn:hover {
    border-color: #577C78;
    background: #f8fafa;
    transform: translateY(-2px);
  }
  
  .social-btn i {
    font-size: 18px;
  }
  
  .social-btn.google i {
    color: #DB4437;
  }
  
  .social-btn.linkedin i {
    color: #0077B5;
  }
  
  .auth-footer {
    text-align: center;
    padding: 30px 40px;
    background: #f8fafa;
    border-top: 1px solid #e8f0ef;
  }
  
  .auth-footer p {
    font-size: 15px;
    color: #666B6B;
    margin: 0;
  }
  
  .auth-footer a {
    color: #577C78;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .auth-footer a:hover {
    color: #DB7544;
  }
  
  .alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .alert-danger {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
  }
  
  .alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  .alert i {
    font-size: 18px;
  }
  
  .alert ul {
    margin: 0;
    padding-left: 20px;
    flex: 1;
  }
  
  .back-home {
    text-align: center;
    margin-top: 20px;
  }
  
  .back-home a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
  }
  
  .back-home a:hover {
    color: #47F2F7;
    gap: 12px;
  }

  .remember-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  
  .remember-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  .remember-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #577C78;
  }
  
  .remember-checkbox label {
    font-size: 14px;
    color: #666B6B;
    cursor: pointer;
    user-select: none;
  }
  
  .forgot-link {
    font-size: 14px;
    color: #577C78;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }
  
  .forgot-link:hover {
    color: #DB7544;
  }
  
  @media (max-width: 767px) {
    .auth-wrapper {
        padding: 20px 15px;
    }

    .auth-card {
        border-radius: 20px;
    }

    .auth-header {
      padding: 40px 30px 25px;
    }
    
    .auth-header h1 {
      font-size: 26px;
    }
    
    .auth-body {
      padding: 30px 25px;
    }
    
    .auth-footer {
      padding: 25px 30px;
    }
    
    .remember-forgot {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
    
    .social-login {
      grid-template-columns: 1fr;
    }

    .auth-wrapper::before,
    .auth-wrapper::after {
        opacity: 0.5; /* Reduce opacity of background elements on mobile */
    }
  }

  @media (max-width: 480px) {
    .auth-header {
        padding: 30px 20px 20px;
    }

    .auth-logo {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .auth-logo i {
        font-size: 28px;
    }

    .auth-header h1 {
        font-size: 22px;
    }

    .auth-body {
        padding: 20px;
    }

    .auth-footer {
        padding: 20px;
    }

    .form-input {
        padding: 14px 16px 14px 45px;
    }
    
    .form-input-icon {
        left: 15px;
        font-size: 16px;
    }
  }
