@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
}

/* Main Container */
.login-container {
    display: flex;
    min-height: 100vh;
}

.alt-login-container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel - Form */
.login-panel {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

.alt-login-panel {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

.login-content {
    width: 100%;
    max-width: 400px;
}

.alt-login-content {
    width: 100%;
    max-width: 400px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.alt-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #014e64;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alt-logo-icon {
    width: 40px;
    height: 40px;
    background: #014e64;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    font-size: 1.2rem;
}

.alt-logo-icon i {
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.alt-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2rem;
}

.alt-welcome-section {
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.alt-welcome-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

.alt-welcome-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Form Styling */
.login-form {
    margin-bottom: 2rem;
}

.alt-login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.alt-form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.alt-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.alt-input-wrapper {
    position: relative;
    overflow: visible;
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 0 3rem 0 3rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    background: white;
    transition: all 0.2s ease;
    outline: none;
}

.alt-form-input {
    width: 100%;
    height: 50px;
    padding: 0 3rem 0 3rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    background: white;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #00a6d3;
    box-shadow: 0 0 0 3px rgba(0, 166, 211, 0.1);
}

.alt-form-input:focus {
    border-color: #00a6d3;
    box-shadow: 0 0 0 3px rgba(0, 166, 211, 0.1);
}

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

.alt-form-input::placeholder {
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
}

.alt-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
}

.alt-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer !important;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 100 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    pointer-events: auto !important;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.alt-password-toggle:hover {
    color: #374151 !important;
    background: rgba(107, 114, 128, 0.1) !important;
}

.alt-password-toggle:focus {
    outline: 2px solid #00a6d3 !important;
    outline-offset: 2px;
}

.alt-password-toggle:active {
    transform: translateY(-50%) scale(0.95) !important;
    background: rgba(107, 114, 128, 0.2) !important;
}

.alt-password-toggle i {
    pointer-events: none !important;
    user-select: none;
    font-size: 0.9rem;
}

.password-toggle:hover {
    color: #374151;
}

/* Form Options */
.form-options {
    text-align: right;
    margin-bottom: 2rem;
}

.alt-form-options {
    text-align: right;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through */
}

.alt-form-options * {
    pointer-events: auto; /* Re-enable clicks for child elements */
}

.forgot-password {
    color: #00a6d3;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.alt-forgot-password {
    color: #00a6d3;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
    z-index: 1000;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.forgot-password:hover {
    color: #014e64;
}

.alt-forgot-password:hover {
    color: #014e64;
    text-decoration: underline;
}

/* Sign In Button */
.sign-in-btn {
    width: 100%;
    height: 50px;
    background: #014e64;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

.alt-sign-in-btn {
    width: 100%;
    height: 50px;
    background: #014e64;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;

    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

.sign-in-btn:hover {
    background: #00a6d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 78, 100, 0.2);
}

.alt-sign-in-btn:hover {
    background: #00a6d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 78, 100, 0.2);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.alt-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.alt-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider-text {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.alt-divider-text {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.alt-social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    width: 100%;
    height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.alt-social-btn {
    width: 100%;
    height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.social-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    transform: translateY(-1px);
}

.alt-social-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    transform: translateY(-1px);
}

.google-btn i {
    color: #ea4335;
    font-size: 1.1rem;
}

.alt-google-btn i {
    color: #ea4335;
    font-size: 1.1rem;
}

.apple-btn i {
    color: #000;
    font-size: 1.1rem;
}

.alt-apple-btn i {
    color: #000;
    font-size: 1.1rem;
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    font-size: 0.95rem;
}

.alt-signup-link {
    text-align: center;
    font-size: 0.95rem;
}

.signup-link span {
    color: #6b7280;
}

.alt-signup-link span {
    color: #6b7280;
}

.signup-text {
    color: #00a6d3;
    text-decoration: none;
    font-weight: 600;
}

.alt-signup-text {
    color: #00a6d3;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 1000;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.alt-signup-text:hover {
    color: #014e64;
    text-decoration: underline;
}

.signup-text:hover {
    color: #014e64;
}

/* Right Panel - Promotional Content */
.promo-panel {
    flex: 1;
    background: linear-gradient(135deg, #014e64 0%, #00a6d3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    min-height: 100vh;
}

.alt-promo-panel {
    flex: 1;
    background: linear-gradient(135deg, #014e64 0%, #00a6d3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    min-height: 100vh;
}

.promo-content {
    max-width: 480px;
}

.alt-promo-content {
    max-width: 480px;
}

.promo-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
}

.alt-promo-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
}

/* Testimonial */
.testimonial {
    margin-bottom: 4rem;
}

.alt-testimonial {
    margin-bottom: 4rem;
}

.quote-icon {
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.2;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.alt-quote-icon {
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.2;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

.alt-testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alt-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.alt-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alt-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.alt-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.alt-author-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    opacity: 0.7;
}

.alt-author-title {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Partners Section */
.partners-section {
    margin-top: 4rem;
}

.alt-partners-section {
    margin-top: 4rem;
}

.partners-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.alt-partners-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1rem;
    align-items: center;
}

.alt-partners-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: lowercase;
}

.alt-partner-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: lowercase;
}

.partner-logo i {
    font-size: 1rem;
}

.alt-partner-logo i {
    font-size: 1rem;
}

/* Error Messages */
.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.alt-error-message {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Register Form Specific Styles */
.alt-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

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

.alt-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.alt-form-select option {
    color: #1f2937;
    padding: 0.5rem;
}

/* Terms Section */
.alt-terms-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.alt-terms-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    gap: 0.75rem;
}

.alt-terms-checkbox input {
    display: none;
}

.alt-terms-checkbox .alt-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.alt-terms-checkbox input:checked + .alt-checkmark {
    background: #00a6d3;
    border-color: #00a6d3;
}

.alt-terms-checkbox .alt-checkmark i {
    font-size: 12px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alt-terms-checkbox input:checked + .alt-checkmark i {
    opacity: 1;
}

.alt-terms-text {
    color: #4b5563;
    margin: 0;
}

.alt-terms-link {
    color: #00a6d3;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    z-index: 1000;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.alt-terms-link:hover {
    color: #014e64;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .promo-title {
        font-size: 2.25rem;
    }
    
    .promo-panel {
        padding: 3rem 2rem;
    }

    .alt-promo-title {
        font-size: 2.25rem;
    }
    
    .alt-promo-panel {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-panel,
    .promo-panel {
        flex: none;
        min-height: auto;
    }
    
    .login-panel {
        padding: 2rem 1.5rem;
    }
    
    .promo-panel {
        display: none;
    }

    .alt-login-container {
        flex-direction: column;
    }
    
    .alt-login-panel,
    .alt-promo-panel {
        flex: none;
        min-height: auto;
    }
    
    .alt-login-panel {
        padding: 2rem 1.5rem;
    }
    
    .alt-promo-panel {
        display: none;
    }

    .alt-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .alt-form-half {
        margin-bottom: 1.5rem;
    }
    
    .alt-terms-section {
        padding: 0.75rem;
    }
    
    .alt-terms-checkbox {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .login-panel {
        padding: 1.5rem 1rem;
    }
    
    .welcome-title {
        font-size: 1.875rem;
    }
    
    .form-input,
    .sign-in-btn,
    .social-btn {
        height: 48px;
    }
    
    .logo-section {
        margin-bottom: 2rem;
    }

    .alt-login-panel {
        padding: 1.5rem 1rem;
    }
    
    .alt-welcome-title {
        font-size: 1.875rem;
    }
    
    .alt-form-input,
    .alt-sign-in-btn,
    .alt-social-btn {
        height: 48px;
    }
    
    .alt-logo-section {
        margin-bottom: 2rem;
    }

    .alt-terms-checkbox .alt-checkmark {
        width: 18px;
        height: 18px;
    }
    
    .alt-terms-checkbox .alt-checkmark i {
        font-size: 10px;
    }
}
