

@font-face {
    font-family: abrama;
    src: url(../fonts/font-1.ttf);
}

@font-face {
    font-family: vito;
    src: url(../fonts/b1.ttf);
}

/* Fonts & Root Variables */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #06080f;
    --card-bg: rgba(13, 17, 28, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --accent-blue: #4f46e5;
    --accent-glow: rgba(79, 70, 229, 0.4);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'abrama', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.1) 0%, transparent 35%);
    background-attachment: fixed;
}

.flex-center {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; height: 75px;
    background: rgba(6, 8, 15, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color); z-index: 1000;
}
.nav-content {
    max-width: 1440px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 10px;
        overflow: hidden;
}
.main-logo { padding-top: 24px;
    height: 89px; filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
.nav-separator { width: 1px; height: 24px; background: var(--border-color); margin: 0 20px; }

.nav-link { 
    color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 600; 
    display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.nav-link:hover { color: var(--text-main); transform: translateY(-1px); }

.nav-right { display: flex; align-items: center; gap: 15px; }

.user-pill {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-color);
    padding: 6px 16px 6px 6px; border-radius: 100px; display: flex; align-items: center; gap: 12px;
}
.u-avatar {
    width: 32px; height: 32px; background: var(--accent-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; box-shadow: 0 0 15px var(--accent-glow);
}
.u-name { font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }

.admin-pill {
    background: rgba(79, 70, 229, 0.1); color: var(--accent-blue);
    padding: 8px 16px; border-radius: 10px; font-size: 12px; font-weight: 700;
    text-decoration: none; border: 1px solid rgba(79, 70, 229, 0.2);
}

.logout-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    color: var(--danger); font-size: 18px; border-radius: 12px; transition: var(--transition);
}
.logout-icon:hover { background: rgba(239, 68, 68, 0.1); transform: rotate(15deg); }

.menu-btn {
    background: none; border: none; color: white; font-size: 22px; cursor: pointer;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}

/* Main Layout */
.main-container { max-width: 1440px; margin: 110px auto 40px; padding: 0 10px; }
.top-row h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 5px; }
.current-date { color: var(--text-dim); font-size: 14px; display: flex; align-items: center; gap: 8px; }

.dashboard-grid { display: grid; grid-template-columns: 420px 1fr; gap: 30px; margin-top: 40px; }

/* Cards Styling */
.glass-card {
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 5px; padding: 15px; backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); transition: var(--transition);
    position: relative; overflow: hidden;
    margin-bottom: 15px;
}
.glass-card:hover { border-color: rgba(79, 70, 229, 0.3); transform: translateY(-5px); }

/* Clock Card */
.clock-card #clock {
    font-size: 64px; font-weight: 800; margin: 15px 0;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.card-label { font-size: 12px; font-weight: 700; color: var(--accent-blue); text-transform: uppercase; letter-spacing: 2px; }

.status-pill {
    padding: 8px 20px; border-radius: 100px; font-size: 12px; font-weight: 700;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.open .dot { background: var(--success); box-shadow: 0 0 10px var(--success); }
.closed .dot { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.pulse { animation: pulse-animation 2s infinite; }

@keyframes pulse-animation {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

/* Custom Header */
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.card-header h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.card-header h3 i { color: var(--accent-blue); font-size: 18px; }

/* Review Styling */
.review-row {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-color);
    padding: 16px; border-radius: 20px; display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px; transition: var(--transition);
}
.review-row:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.rank-icon { 
    width: 36px; height: 36px; background: rgba(245, 158, 11, 0.1); color: var(--warning);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.btn-comment {
    background: rgba(79, 70, 229, 0.1); color: var(--accent-blue);
    border: 1px solid rgba(79, 70, 229, 0.2); width: 40px; height: 40px;
    border-radius: 12px; cursor: pointer; transition: var(--transition);
}
.btn-comment:hover { background: var(--accent-blue); color: white; transform: scale(1.1); }

/* Booking Form */
.modern-form { display: flex; flex-direction: column; gap: 15px; }
.select-wrapper { position: relative; }
.select-wrapper i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }

select {
    width: 100%; padding: 16px; background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color); border-radius: 16px;
    color: white; font-size: 14px; appearance: none; cursor: pointer;
    transition: var(--transition);
}
select:focus { border-color: var(--accent-blue); outline: none; background: rgba(0,0,0,0.4); }

.btn-primary {
    background: var(--accent-blue); color: white; border: none; padding: 18px;
    border-radius: 16px; font-weight: 700; cursor: pointer; display: flex;
    align-items: center; justify-content: center; gap: 12px; transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--accent-glow); }

/* Timeline Styling */
.timeline { position: relative; padding-left: 20px; margin-left: 10px; border-left: 2px solid var(--border-color); }
.timeline-item { position: relative; display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.timeline-item::before {
    content: ''; position: absolute; left: -26px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px; background: var(--accent-blue); border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}
.time-tag { 
    background: rgba(79, 70, 229, 0.1); color: var(--accent-blue);
    padding: 6px 14px; border-radius: 10px; font-weight: 800; font-size: 13px;
    min-width: 65px; text-align: center; border: 1px solid rgba(79, 70, 229, 0.2);
}
.user-item {
    background: rgba(255,255,255,0.02); padding: 12px 20px; border-radius: 20px;
    border: 1px solid var(--border-color); display: flex; align-items: center; gap: 15px; flex: 1;
}
.mini-avatar-box {
    width: 40px; height: 40px; background: #1e293b; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.user-name-txt { display: block; font-weight: 700; font-size: 15px; }
.user-sub-txt { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

/* Sidebar & Close Button - "X" Styling */
.mobile-sidebar {
    position: fixed; right: -320px; top: 0; width: 300px; height: 100%;
    background: #090c14; z-index: 1100; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px; border-left: 1px solid var(--border-color);
}
.mobile-sidebar.active { right: 0; }
.sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px); z-index: 1050; display: none; opacity: 0; transition: 0.3s;
}
.sidebar-overlay.active { display: block; opacity: 1; }

.sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }

/* SIDEBAR X BUTTON - SPECIAL DESIGN */
.close-sidebar {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color); color: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: var(--transition); font-size: 18px;
}
.close-sidebar:hover {
    background: var(--danger); border-color: var(--danger);
    transform: rotate(90deg); box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.sidebar-user { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.large-avatar {
    width: 80px; height: 80px; background: var(--accent-blue); margin: 0 auto 15px;
    border-radius: 25px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 800; transform: rotate(-5deg); box-shadow: 0 15px 30px var(--accent-glow);
}
.side-user-name { font-size: 18px; font-weight: 800; }
.side-user-role { font-size: 12px; color: var(--text-dim); }

.side-nav-list a {
    display: flex; align-items: center; gap: 15px; color: var(--text-dim);
    text-decoration: none; padding: 18px 0; font-size: 14px; font-weight: 600;
    transition: var(--transition); border-bottom: 1px solid rgba(255,255,255,0.02);
}
.side-nav-list a:hover { color: var(--text-main); padding-left: 8px; }
.side-nav-list a i { width: 20px; text-align: center; color: var(--accent-blue); }

.side-logout { color: var(--danger) !important; margin-top: 20px; }
.side-logout i { color: var(--danger) !important; }

/* Modals */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px); z-index: 2000; display: flex;
    align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box { max-width: 500px; width: 100%; border-radius: 32px; padding: 40px !important; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.close-modal-top { font-size: 28px; cursor: pointer; color: var(--text-dim); line-height: 1; }
.modal-body { font-size: 16px; line-height: 1.6; color: var(--text-dim); margin-bottom: 30px; }
.btn-close-modal {
    width: 100%; padding: 16px; background: var(--accent-blue); border: none;
    border-radius: 16px; color: white; font-weight: 700; cursor: pointer;
}

/* Utils */
.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.custom-scroll::-webkit-scrollbar { width: 6px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

/* Responsive */
@media (max-width: 1100px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .desktop-only { display: none; }
}