/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* =========================
   PAGE
========================= */
.auth-page {
    height: 100vh;
    overflow: hidden;
    background: #f8fafc;
}

/* =========================
   CONTAINER
========================= */
.auth-container {
    display: flex;
    height: 100vh;
}

/* =========================
   LEFT PANEL
========================= */
.auth-left {
    width: 520px;
    background: #ffffff;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;

    animation: slideFade 0.9s ease forwards;
}

/* =========================
   LOGO (FIX POJOK KIRI ATAS)
========================= */
.auth-logo {
    position: absolute;
    top: 32px;
    left: 48px;
    width: 120px;
    z-index: 10;
}

/* =========================
   FORM BOX
========================= */
.auth-box {
    width: 100%;
    max-width: 380px;
    transform: translateY(20px);
}

/* =========================
   TITLE & SUBTITLE
========================= */
.auth-title {
    font-size: 16px;
    font-weight: 700;
    color: #64748b; 
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* =========================
   FORM
========================= */
.form-group {
    margin-bottom: 26px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}

/* =========================
   BUTTON
========================= */
.btn-auth {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.35s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35);
}

/* =========================
   FOOTER
========================= */
.auth-footer {
    margin-top: 32px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

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

/* =========================
   RIGHT PANEL (IMAGE)
========================= */
.auth-right {
    flex: 1;
    background: url("../images/bg-auth-scw.png") center center / cover no-repeat;
    position: relative;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.auth-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.45)
    );
}

/* =========================
   ANIMATIONS
========================= */
@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .auth-right {
        display: none;
    }

    .auth-left {
        width: 100%;
        padding: 32px;
    }

    .auth-logo {
        left: 32px;
    }

    .auth-box {
        transform: translateY(40px);
    }
}
