/* =============================================================================
 *  GAYA KUSTOM APLIKASI
 *  File: assets/css/app.css
 * ============================================================================= */

/* --- Font dasar (fallback lokal agar tidak tergantung CDN) --- */
body {
    font-family: 'Segoe UI', Tahoma, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Halaman login (split: form kiri, branding kanan) --- */
.auth-page {
    min-height: 100vh;
}

.auth-split {
    display: flex;
    min-height: 100vh;
}

/* Panel kiri: form login */
.auth-form {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f8f7;
    padding: 2rem;
}

.auth-form-inner {
    width: 100%;
    max-width: 420px;
}

.auth-brand .auth-logo,
.auth-hero-logo {
    font-weight: 800;
}

.auth-logo-img {
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-hero-logo {
    margin-bottom: 1.25rem;
}

.auth-hero-logo img {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.auth-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-sub {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.auth-foot {
    color: #adb5bd;
    font-size: 0.8rem;
    text-align: center;
}

/* Panel kanan: branding */
.auth-hero {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f3d23 0%, #1a7a3a 100%);
    color: #fff;
    padding: 3rem;
}

.auth-hero-inner {
    max-width: 460px;
}

.auth-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.auth-hero-desc {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-size: 0.98rem;
}

.auth-features li i {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Responsif: pada layar kecil, panel branding disembunyikan,
   form login mengambil seluruh lebar. */
@media (max-width: 991.98px) {
    .auth-hero {
        display: none;
    }
}

/* --- Halaman validasi anggota (publik) --- */
.validasi-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6f8f7 0%, #e9f5ec 100%);
    padding: 2rem 1rem;
}

.validasi-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 2rem 1.25rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.validasi-logo {
    width: 84px;
    height: 84px;
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.validasi-status {
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    color: #fff;
}

.validasi-status-aktif {
    background: linear-gradient(135deg, #1a7a3a 0%, #28a745 100%);
}

.validasi-status-nonaktif {
    background: linear-gradient(135deg, #b02a37 0%, #dc3545 100%);
}

.validasi-status i {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Small-box (AdminLTE) --- */
.small-box {
    border-radius: 0.5rem;
    position: relative;
    display: block;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.small-box > .inner {
    padding: 0.625rem 0.75rem;
}

.small-box h3,
.small-box p {
    margin: 0;
    color: #fff;
    z-index: 5;
    position: relative;
}

.small-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

.small-box p {
    font-size: 0.9rem;
}

.small-box .icon {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.35);
    z-index: 0;
}

.small-box .small-box-footer {
    display: block;
    padding: 0.375rem 0;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    position: relative;
    z-index: 5;
}

.small-box .small-box-footer:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* --- Utility --- */
.cursor-pointer {
    cursor: pointer;
}

.text-decoration-none {
    text-decoration: none;
}
