* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

/* =========================
   SPLIT LOGIN LAYOUT
   ========================= */
.auth-split {
    display: flex;
    min-height: 100vh;
}

/* BAGIAN KIRI */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #f39c12, #3498db);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    color: #000;
}

.auth-left h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.auth-left p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 420px;
}

/* BAGIAN KANAN */
.auth-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   CARD LOGIN / REGISTER
   ========================= */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 6px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

/* =========================
   FORM
   ========================= */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.form-group input:focus {
    border-color: #2980f2;
}

/* =========================
   BUTTON
   ========================= */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2980f2;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #1f6fd8;
}

/* =========================
   LINK & FOOTER
   ========================= */
.text-center {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.auth-footer {
    position: fixed;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
}

/* =========================
   RESPONSIVE (HP)
   ========================= */
@media (max-width: 768px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-left {
        display: none;
    }

    .auth-footer {
        color: #666;
    }
}
/* =========================
   CENTER REGISTER
   ========================= */
.auth-center {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f39c12, #3498db);
}
.error {
    background: #ffe5e5;
    color: #b30000;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}
