/* Kenno Business - Auth Pages */

.auth-layout {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: white;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.auth-right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 400px;
}

.auth-right-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.auth-right-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-features {
    text-align: left;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 24px;
    color: white;
}

.auth-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-feature-text p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Auth Form Container */
.auth-container {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-decoration: none;
}

.auth-logo .logo-icon-sloth {
    width: 40px;
    height: 40px;
}

.auth-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.auth-logo-text span:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.auth-logo-text span:last-child {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6b7280;
    font-size: 15px;
}

.auth-form {
    margin-bottom: 24px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 13px;
}

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

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-footer a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

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

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s;
}

.password-strength-fill.weak {
    width: 25%;
    background: var(--color-error);
}

.password-strength-fill.fair {
    width: 50%;
    background: var(--color-warning);
}

.password-strength-fill.good {
    width: 75%;
    background: #84cc16;
}

.password-strength-fill.strong {
    width: 100%;
    background: var(--color-success);
}

.password-strength-text {
    font-size: 12px;
    color: #6b7280;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--color-navy);
    cursor: pointer;
    margin-top: 2px;
}

.form-checkbox-label {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--color-navy);
    text-decoration: none;
}

.form-checkbox-label a:hover {
    text-decoration: underline;
}

/* Country Select */
.country-select {
    position: relative;
}

.country-select .form-select {
    padding-left: 48px;
}

.country-flag {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

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

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-social:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.btn-social img {
    width: 20px;
    height: 20px;
}

/* Verification Page */
.verify-container {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
}

.verify-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-icon i {
    font-size: 48px;
    color: var(--color-success);
}

.verify-icon.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.verify-icon.pending i {
    color: var(--color-warning);
}

.verify-container h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.verify-container p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.verify-email {
    font-weight: 600;
    color: var(--color-navy);
}

.resend-link {
    font-size: 14px;
    color: #6b7280;
    margin-top: 24px;
}

.resend-link a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
}

.resend-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-right {
        display: none;
    }

    .auth-left {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 0 8px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Alert messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    white-space: pre-line;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}
