/* =======================
   GLOBAL
======================= */
* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* =======================
   SVG BACKGROUND
======================= */
.svg-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* =======================
   PAGE WRAPPER
======================= */
.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 24px 16px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =======================
   HEADER
======================= */
.page-header {
    text-align: center;
    color: #ffffff;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-header p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.page-header span {
    font-size: 13px;
    opacity: 0.8;
}

/* =======================
   CARD (GLASS)
======================= */
.presensi-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(10px);
}

/* =======================
   FORM
======================= */
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.input-group-text {
    background: #eef2ff;
    border: none;
    color: #4f46e5;
}

.form-select {
    border: none;
    background: #f8fafc;
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
}

/* =======================
   BUTTON
======================= */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border: none;
    border-radius: 14px;
    font-size: 15px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.btn-primary:active {
    transform: scale(0.97);
}

/* =======================
   FOOTER
======================= */
.page-footer {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 24px;
}

/* =======================
   TABLET
======================= */
@media (min-width: 768px) {
    .page-wrapper {
        padding: 48px 60px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .presensi-card {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* =======================
   DESKTOP
======================= */
@media (min-width: 992px) {
    .page-wrapper {
        max-width: 1100px;
        margin: auto;
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .page-header {
        text-align: left;
        flex: 1;
    }

    .presensi-card {
        flex: 1;
        max-width: 420px;
    }

    .page-footer {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}