/* =========================
   LOGIN PAGE - INDONESIA BERKIBLAT
========================= */

* {
    box-sizing: border-box;
}

:root {
    --bg-page: #0f172a;          /* slate-900 */
    --bg-card: #1e293b;          /* slate-800 */
    --bg-input: #0f172a;         /* slate-900 */
    --border: #475569;           /* slate-600 */
    --border-soft: #334155;      /* slate-700 */
    --text-main: #ffffff;
    --text-soft: #94a3b8;        /* slate-400 */
    --text-label: #cbd5e1;       /* slate-300 */
    --green: #34d399;            /* emerald-400 */
    --green-dark: #059669;       /* emerald-600 */
    --green-hover: #10b981;      /* emerald-500 */
    --amber: #fbbf24;            /* amber-400 */
    --amber-hover: #fcd34d;      /* amber-300 */
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--bg-page);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
}

/* Wrapper halaman login */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Card login */
.auth-card {
    width: 100%;
    max-width: 448px;
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--green);
}

.auth-subtitle {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-soft);
}

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

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

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-label);
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    border-color: var(--green-hover);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Button */
.btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
    background: var(--green-dark);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(6, 95, 70, 0.25);
}

.btn-primary:hover {
    background: var(--green-hover);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Footer login */
.auth-links-row {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 65, 85, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-link-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.auth-link-box-right {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

.auth-link-label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.auth-link-green {
    color: var(--green);
}

.auth-link-green:hover {
    color: #6ee7b7;
}

.auth-link-amber {
    color: var(--amber);
}

.auth-link-amber:hover {
    color: var(--amber-hover);
}

.auth-link-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.auth-link:hover .auth-link-arrow {
    transform: translateX(2px);
}

/* Responsive */
@media (max-width: 520px) {
    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .auth-links-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .auth-link-box-right {
        margin-left: 0;
        text-align: left;
        align-items: flex-start;
    }

    .auth-link {
        white-space: normal;
    }
}