/* =========================================================
   SWISS-BELHOTEL SILAE PALU — FLOATING LUXURY AUTH CARD
========================================================= */

/* Optimasi performa: tanpa @import font eksternal agar render instan 0ms */

:root {
    --navy-deep: #0b1d33;
    --navy-mid: #163252;
    --gold: #c8a45d;
    --gold-light: #e7cf9a;
    --crimson: #c81e1e;
    --text-dark: #1d2733;
    --text-muted: #64707d;
    --border: #e5e0d5;
}

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

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 20px;
    background:
        radial-gradient(circle at 18% 18%, rgba(200, 164, 93, 0.24), transparent 42%),
        radial-gradient(circle at 85% 82%, rgba(200, 30, 30, 0.16), transparent 45%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px),
        linear-gradient(135deg, #071424 0%, #0f253e 55%, #183657 100%);
    color: var(--text-dark);
}

/* =========================================================
   FLOATING CARD CONTAINER
========================================================= */

@keyframes floatCardIn {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-page {
    width: 100%;
    max-width: 1020px;
    min-height: 610px;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(200, 164, 93, 0.34);
    box-shadow:
        0 34px 85px rgba(0, 0, 0, 0.48),
        0 12px 28px rgba(11, 29, 51, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.10) inset;
    animation: floatCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* =========================================================
   LEFT EDITORIAL PANEL
========================================================= */

.welcome-section {
    width: 46%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 52px 44px;
    background:
        radial-gradient(circle at 85% 20%, rgba(200, 164, 93, 0.25), transparent 50%),
        linear-gradient(155deg, #0b1d33 0%, #163252 60%, #091728 100%);
    color: #ffffff;
}

.welcome-section::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    border: 1px solid rgba(200, 164, 93, 0.24);
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-content::before {
    content: "✦  SWISS-BELHOTEL SILAE PALU";
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--gold-light);
    background: rgba(200, 164, 93, 0.15);
    border: 1px solid rgba(200, 164, 93, 0.42);
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.welcome-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 18px;
    color: #ffffff;
}

.welcome-content h1 strong {
    font-weight: 700;
    color: var(--gold-light);
}

.welcome-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 26px;
}

.gold-line {
    width: 68px;
    height: 3.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* =========================================================
   RIGHT FORM PANEL
========================================================= */

.login-section {
    width: 54%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 48px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-box h2 {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: 31px;
    color: var(--navy-deep);
    margin-bottom: 6px;
    font-weight: 700;
}

.login-description {
    text-align: center;
    font-size: 13.8px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

/* =========================================================
   FORM INPUTS
========================================================= */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1.5px solid #e2ddd2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-dark);
    background: #fcfbf8;
    outline: none;
    transition: all 0.22s ease;
}

.form-group input:focus {
    background: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.16);
}

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

/* =========================================================
   CTA BUTTON
========================================================= */

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 24px rgba(11, 29, 51, 0.22);
    transition: all 0.26s ease;
}

.login-button span {
    font-size: 18px;
    color: var(--gold-light);
    transition: transform 0.22s ease;
}

.login-button:hover {
    background: linear-gradient(135deg, #163457 0%, var(--crimson) 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(200, 30, 30, 0.24);
}

.login-button:hover span {
    transform: translateX(4px);
    color: #ffffff;
}

/* =========================================================
   ALERTS & LINKS
========================================================= */

.error-message {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
}

.auth-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--navy-deep);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--crimson);
    text-decoration: underline;
}

/* =========================================================
   CARD FOOTER
========================================================= */

.login-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    color: #8b93a0;
    font-size: 12px;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.footer-line {
    height: 1px;
    background: #eae6dc;
    flex: 1;
}

.location {
    text-align: center;
    margin-top: 10px;
    color: #8b93a0;
    font-size: 12.5px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 860px) {
    body {
        padding: 18px 14px;
    }

    .login-page {
        flex-direction: column;
        min-height: auto;
        border-radius: 20px;
    }

    .welcome-section {
        width: 100%;
        padding: 34px 28px;
    }

    .welcome-content h1 {
        font-size: 28px;
    }

    .login-section {
        width: 100%;
        padding: 32px 24px;
    }
}
