/* ============================================================
   Auth pages - Modern split layout (Blue theme - You & Me)
   ============================================================ */

.auth-split {
    min-height: 100vh;
    display: flex;
    width: 100%;
    background: #f5f7fb;
    font-family: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---- Left brand panel ---- */
.auth-brand-panel {
    position: relative;
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    color: #fff;
    background: linear-gradient(140deg, #1e3a8a 0%, #2563eb 52%, #3b82f6 100%);
    overflow: hidden;
}
.auth-brand-panel::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -140px;
    right: -140px;
}
.auth-brand-panel::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -100px;
    left: -80px;
}
.auth-brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.auth-brand-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.auth-brand-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}
.auth-brand-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 400px;
    margin: 0 0 36px;
    position: relative;
    z-index: 1;
}
.auth-brand-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.auth-brand-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}
.auth-brand-points li i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ---- Right form panel ---- */
.auth-form-panel {
    position: relative;
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
}
.auth-back-link {
    position: absolute;
    top: 24px;
    left: 32px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}
.auth-back-link:hover {
    color: #2563eb;
}
.auth-form-inner {
    width: 100%;
    max-width: 460px;
}

/* Card look */
.auth-split .card {
    border: 1px solid #eef0f3;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(23, 32, 45, 0.08);
    background: #fff;
}
.auth-split .card-body {
    padding: 40px 38px;
}

/* In-card logo shows only when the brand panel is hidden (mobile) */
@media (min-width: 992px) {
    .auth-form-panel .app-brand {
        display: none;
    }
}

/* Headings */
.auth-split .card h4,
.auth-split .card h5 {
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.2px;
}
.auth-split .card .text-muted {
    color: #6b7280 !important;
}

/* Links */
.auth-split a {
    color: #2563eb;
    text-decoration: none;
}
.auth-split a:hover {
    color: #1d4ed8;
}

/* Buttons - blue primary */
.auth-split .btn-primary {
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1e40af;
    --bs-btn-active-border-color: #1e40af;
    --bs-btn-disabled-bg: #2563eb;
    --bs-btn-disabled-border-color: #2563eb;
    border-radius: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
}
.auth-split .btn-primary:hover,
.auth-split .btn-primary:focus {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

/* Inputs */
.auth-split .form-control {
    border-radius: 12px;
    padding: 11px 14px;
    border-color: #e2e8f0;
    color: #1f2937;
}
.auth-split .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}
.auth-split .input-group-text {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #2563eb;
}
.auth-split .input-group-text i {
    font-size: 18px;
}
.auth-split .form-label {
    color: #374151;
    font-weight: 600;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-brand-panel {
        display: none;
    }
    .auth-form-panel {
        flex: 1 1 100%;
    }
}
