/* ==========================================================================
   KeepOn SaaS - Split-Screen Auth (Login & Register) Stylesheet
   ========================================================================== */

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    color: #0F172A;
    line-height: 1.5;
    min-height: 100vh;
}

/* Split-Screen Container */
.auth-split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Half - Brand & Slogan Panel */
.auth-left-brand {
    flex: 1.1;
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
    color: #FFFFFF;
    padding: 60px 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Ambient Radial Glow Blobs */
.auth-left-brand::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.auth-left-brand::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.brand-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.brand-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
}

.brand-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.brand-slogan-content {
    max-width: 520px;
    position: relative;
    z-index: 2;
    margin: 60px 0;
}

.slogan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #38BDF8;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.slogan-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.slogan-subtext {
    font-size: 1.1rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 36px;
}

.feature-check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #CBD5E1;
}

.feature-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.brand-footer-text {
    font-size: 0.85rem;
    color: #64748B;
    position: relative;
    z-index: 2;
}

/* Right Half - Clean Form Area */
.auth-right-form {
    flex: 1;
    background: #FFFFFF;
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrapper {
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.auth-form-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.auth-form-header p {
    font-size: 0.95rem;
    color: #64748B;
    margin-top: 6px;
}

/* User Type Selection Cards (Kayıt Ekranı İçin) */
.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.user-type-card {
    border: 2px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 16px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.user-type-card:hover {
    border-color: #4F46E5;
    background: #FFFFFF;
}

.user-type-card.active {
    border-color: #4F46E5;
    background: rgba(79, 70, 229, 0.04);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

.type-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #4F46E5;
}

.user-type-card.active .type-card-icon {
    background: #4F46E5;
    color: #FFFFFF;
    border-color: transparent;
}

.type-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
}

.type-card-sub {
    font-size: 0.775rem;
    color: #64748B;
}

/* Form Controls */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0F172A;
}

.form-input {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0F172A;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.form-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
}

.forgot-link {
    font-weight: 700;
    color: #4F46E5;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-auth-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #3B82F6 100%);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px -4px rgba(79, 70, 229, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(79, 70, 229, 0.55);
}

.switch-auth-mode {
    text-align: center;
    font-size: 0.9rem;
    color: #64748B;
}

.switch-auth-mode a {
    font-weight: 800;
    color: #4F46E5;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 992px) {
    .auth-split-container {
        flex-direction: column;
    }

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

    .slogan-title {
        font-size: 2.1rem;
    }

    .auth-right-form {
        padding: 40px 24px;
    }
}
