@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { font-family: 'Inter', sans-serif; }
body { background: #f4f7fb; color: #0f172a; }
.brand {
    width: 40px; height: 40px; display: inline-grid; place-items: center;
    border-radius: 12px; background: #2563eb; color: #fff; font-weight: 800; margin-right: 8px;
}
.hero {
    padding: 150px 0 90px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; line-height: 1.05; }
.hero p { color: #dbeafe; font-size: 18px; max-width: 650px; }
.hero-box { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 28px; padding: 40px; }
.room-card { border-radius: 24px; }
.room-icon { width: 56px; height: 56px; border-radius: 18px; background: #eff6ff; display: grid; place-items: center; font-size: 24px; }
.facility { list-style: none; padding: 0; display: grid; gap: 7px; color: #475569; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #0f172a, #2563eb); }
.login-card { width: min(430px, 92vw); background: #fff; padding: 34px; border-radius: 28px; box-shadow: 0 30px 90px rgba(15,23,42,.35); }
.admin-layout { min-height: 100vh; }
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 24px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    transition: .3s ease;
    z-index: 1000;
}
.sidebar.closed { left: -280px; }
.sidebar h4 { font-weight: 800; margin-bottom: 30px; }
.sidebar a { display: block; text-decoration: none; color: #475569; font-weight: 600; padding: 13px 15px; border-radius: 14px; margin-bottom: 8px; }
.sidebar a.active, .sidebar a:hover { background: #eff6ff; color: #2563eb; }
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
    display: none;
}
.sidebar-overlay.show { display: block; }
.main {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 26px;
    transition: .3s ease;
}
.main.full {
    margin-left: 0;
    width: 100%;
}
.toggle-sidebar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 20px;
}
.topbar { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.topbar h4 { font-weight: 800; margin: 0; }
.topbar p { color: #64748b; margin: 4px 0 0; }
.panel, .stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 24px; box-shadow: 0 14px 35px rgba(15,23,42,.05); }
.stat span { color: #64748b; font-weight: 600; }
.stat h3 { font-weight: 800; margin-top: 12px; }
.info { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 18px; padding: 16px; }
.info span { display: block; color: #64748b; font-size: 14px; margin-bottom: 4px; }
.avatar { width: 92px; height: 92px; border-radius: 50%; background: #dbeafe; color: #2563eb; display: grid; place-items: center; font-weight: 800; font-size: 38px; margin: 0 auto 18px; }
.history { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 18px; padding: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.btn, .form-control, .form-select { border-radius: 12px; }
@media(max-width: 992px) {
    .sidebar { left: -280px; }
    .sidebar.show { left: 0; }
    .main { width: 100%; margin-left: 0; padding: 16px; }
}
@media print {
    .sidebar, .topbar, .no-print, .btn, nav { display: none !important; }
    .main { padding: 0; margin: 0; width: 100%; }
    .panel { box-shadow: none; border: none; }
}


/* NOTIFICATION & POPUP */
.admin-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notif-bell {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
    text-decoration: none;
    position: relative;
    font-size: 21px;
}

.notif-bell span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

.notification-panel {
    border-left: 5px solid #2563eb;
}

.notif-item {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-custom {
    border: none;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(15,23,42,.28);
}

.modal-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 900;
}

.modal-icon.success {
    background: #dcfce7;
    color: #16a34a;
}

.modal-icon.failed {
    background: #fee2e2;
    color: #dc2626;
}

.modal-icon.question {
    background: #dbeafe;
    color: #2563eb;
}


/* ROOM PHOTOS */
.room-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
    background: #eef2ff;
}

.admin-room-photo {
    width: 110px;
    height: 78px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #eef2ff;
}

.preview-room-photo {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #eef2ff;
}


/* ROOM PHOTO SLIDER */
.room-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.room-carousel .room-photo {
    border-radius: 24px 24px 0 0;
}

.room-carousel-btn {
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

.room-carousel:hover .room-carousel-btn {
    opacity: 1;
    visibility: visible;
}

.room-carousel .carousel-control-prev,
.room-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, .65);
    border-radius: 50%;
    margin: 0 12px;
}

.room-carousel .carousel-control-prev-icon,
.room-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.photo-manage-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 10px;
    background: #f8fafc;
}

.photo-manage-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
}


/* DYNAMIC FACILITIES ADMIN */
.facility-admin-list {
    display: grid;
    gap: 10px;
}

.facility-admin-item {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.facility-admin-item span {
    font-weight: 600;
    color: #334155;
}


/* V7 - TOMBOL BOOKING LANDING PAGE SEJAJAR */
.room-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
}

.room-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-card .facility,
.room-card .facility-list {
    flex-grow: 1;
}

.btn-booking {
    margin-top: auto;
}

.facility li,
.facility-item {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}


/* V8 LOGO DINAMIS */
.site-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    vertical-align: middle;
}

.logo-preview-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.logo-preview-box img,
.logo-preview-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    object-fit: cover;
    background: #2563eb;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 30px;
}
.blok-filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.blok-filter {
    text-decoration: none;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 18px;
    border-radius: 16px;
    font-weight: 700;
}

.blok-filter span {
    font-size: 12px;
    color: #64748b;
    margin-left: 6px;
}

.blok-filter.active,
.blok-filter:hover {
    background: #2563eb;
    color: white;
}

.blok-filter.active span,
.blok-filter:hover span {
    color: #dbeafe;
}

.room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.room-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.facility-list {
    flex-grow: 1;
}

.facility-item {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 500;
}

.btn-booking {
    margin-top: auto;
}

/* V9 FILTER BLOK KAMAR */
.blok-filter-wrapper {display:flex;justify-content:center;flex-wrap:wrap;gap:12px;}
.blok-filter {text-decoration:none;color:#334155;background:#fff;border:1px solid #e2e8f0;padding:12px 18px;border-radius:16px;font-weight:700;box-shadow:0 10px 26px rgba(15,23,42,.05);transition:.2s ease;}
.blok-filter span {font-size:12px;color:#64748b;margin-left:6px;}
.blok-filter:hover,.blok-filter.active {background:#2563eb;color:#fff;border-color:#2563eb;}
.blok-filter:hover span,.blok-filter.active span {color:#dbeafe;}
