/* --- Global Styles --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8)), 
                url('../img/bg.png') no-repeat center center/cover;
    height: 100vh;
    display: flex; justify-content: center; align-items: center;
}

/* --- Main Layout --- */
.container {
    width: 95%; height: 95vh;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: 80px 1fr;
    overflow: hidden;
}

/* --- Sidebar --- */
.sidebar {
    grid-row: 1 / 3;
    background: linear-gradient(180deg, #0f3d3e, #1c7c7d);
    padding: 20px;
    overflow-y: auto;
}

.logo img { width: 120px; display: block; margin: 0 auto 30px; }

.line-divider {
    padding: 12px; color: white; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: bold; border-left: 3px solid #46dbc7;
    margin-top: 15px; border-radius: 0 8px 8px 0; user-select: none;
}

.sidebar ul { list-style: none; display: none; padding-left: 10px; }
.sidebar ul.show { display: block; }

.sidebar a {
    color: rgba(255, 255, 255, 0.8); text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    padding: 10px; transition: 0.3s; font-size: 14px;
}

.sidebar a:hover, li.active a { color: white; background: rgba(255,255,255,0.1); border-radius: 8px; }

/* --- Header --- */
.header-content {
    background: rgba(255, 255, 255, 0.6);
    padding: 0 30px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-title { color: #0f3d3e; font-size: 20px; }
.welcome-text { color: #1a5d1a; font-size: 12px; font-weight: 600; }

.profile-area { display: flex; align-items: center; gap: 20px; }
.notifications { position: relative; cursor: pointer; font-size: 20px; }
.badge {
    position: absolute; top: -5px; right: -5px;
    background: #ff4d4d; color: white; font-size: 10px;
    padding: 2px 5px; border-radius: 50%;
}

.profile-img { display: flex; align-items: center; gap: 10px; }
.profile-img img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #1c7c7d; }

/* --- Main Content Area --- */
.main-content {
    padding: 25px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 25px;
}

/* Statistics Grid */
.statics-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.statics-cards {
    background: rgba(255, 255, 255, 0.8); padding: 20px;
    border-radius: 15px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s;
}

.statics-cards:hover { transform: translateY(-5px); background: white; }

.card-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}

/* Colors for Icons */
.blue { background: rgba(70, 219, 199, 0.2); color: #1c7c7d; }
.green { background: rgba(34, 197, 94, 0.2); color: #16a34a; }
.orange { background: rgba(245, 158, 11, 0.2); color: #d97706; }
.red { background: rgba(239, 68, 68, 0.2); color: #dc2626; }

.card-info h2 { font-size: 12px; color: #64748b; text-transform: uppercase; }
.card-info p { font-size: 24px; font-weight: bold; color: #0f3d3e; }

.trend { font-size: 11px; font-weight: bold; display: block; margin-top: 4px; }
.trend.up { color: #22c55e; }
.trend.down { color: #ef4444; }

/* Chart Area */
.chart-wrapper {
    background: rgba(255, 255, 255, 0.8); padding: 20px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.4);
}

.chart-container { height: 300px; width: 100%; margin-top: 15px; }

/* Recent Activities */
.recent-activities {
    background: rgba(255, 255, 255, 0.8); padding: 20px;
    border-radius: 20px;
}

.section-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
.view-all { color: #1c7c7d; font-size: 12px; font-weight: bold; text-decoration: none; }

.activity-item {
    display: flex; align-items: center; gap: 15px;
    padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}

.act-icon { width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.act-icon.user { background: #e0f2fe; color: #0284c7; }
.act-icon.hotel { background: #dcfce7; color: #16a34a; }

.activity-details p { font-size: 13px; color: #334155; }
.activity-details span { font-size: 11px; color: #94a3b8; }

/* --- Animations --- */
.pulse { animation: pulse-orange 2s infinite; }
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #1c7c7d; border-radius: 10px; }