
        * {
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
        }

        body {
            margin: 0;
            background: linear-gradient(135deg, #e3f2fd, #f9fbff);
            color: #333;
        }

        /* ===== HEADER ===== */
        header {
            background: #0d47a1;
            color: #fff;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,.2);
        }

        header h1 {
            margin: 0;
            font-size: 24px;
        }

        header p {
            margin: 6px 0 0;
            font-size: 14px;
            opacity: .9;
        }

        /* ===== CONTAINER ===== */
        .container {
            max-width: 1300px;
            margin: auto;
            padding: 25px;
        }

        /* ===== GRID ===== */
        #data {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }

        /* ===== CARD ===== */
        .card {
            background: #fff;
            border-radius: 16px;
            padding: 22px 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,.1);
            position: relative;
            transition: transform .2s, box-shadow .2s;
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 35px rgba(0,0,0,.15);
        }

        .card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 10px;
            height: 100%;
            border-radius: 16px 0 0 16px;
            background: var(--status-color);
        }

        .card h3 {
            margin: 0 0 10px;
            color: #0d47a1;
            font-size: 18px;
        }

        .info {
            font-size: 14px;
            margin-bottom: 6px;
        }

        /* ===== STATUS ===== */
        .status {
            margin-top: 12px;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 14px;
            display: inline-block;
        }

        .ok {
            background: #e8f5e9;
            color: #2e7d32;
        }

        .warning {
            background: #fff8e1;
            color: #ef6c00;
        }

        .full {
            background: #ffebee;
            color: #c62828;
        }

        /* ===== FOOTER ===== */
        footer {
            text-align: center;
            padding: 15px;
            font-size: 13px;
            color: #666;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 600px) {
            header h1 {
                font-size: 20px;
            }
        }
        .bed-icon {
    font-size: 28px;
    margin-bottom: 5px;
        }

        .progress {
            width: 100%;
            background: #eee;
            border-radius: 6px;
            overflow: hidden;
            height: 10px;
            margin: 8px 0;
        }

        .progress-bar {
            height: 100%;
        }
        .header-ruangan {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .bed-icon {
            font-size: 26px;
        }

        .header-ruangan h4 {
            margin: 0;
        }
/* HEADER BANNER */
.header-banner {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .header-banner {
        height: 300px;
    }
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 16px;
}

.banner-text h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.banner-text p {
    font-size: 0.9rem;
}

/* FOOTER */
.footer {
    margin-top: 40px;
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}
