/* style.css - Premium Aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #4361ee;
    --secondary: #7209b7;
    --success: #4cc9f0;
    --danger: #f72585;
    --bg-light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.7);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: #2b2d42;
    overflow-x: hidden;
}

.card {
    border: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-pill {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Custom Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-1px);
}

/* Checkbox Styling */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Avatar Placeholder */
.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

/* Clock Display */
#clock {
    letter-spacing: 2px;
    background: linear-gradient(135deg, #2b2d42, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Table */
.table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table tbody tr {
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-radius: 10px;
}

.table tbody td {
    background: white;
    padding: 1rem;
}

.table tbody td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table tbody td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Sidebar Layout */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.content-area {
    flex-grow: 1;
    padding: 2rem;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.nav-link {
    transition: all 0.2s;
    font-weight: 500;
    padding: 0.8rem 1rem;
}

.nav-link.active {
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

.nav-link:not(.active):hover {
    background-color: rgba(67, 97, 238, 0.05);
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px !important;
    }
    .sidebar span, .sidebar hr, .sidebar strong {
        display: none;
    }
    .sidebar .nav-link {
        text-align: center;
    }
    .sidebar .nav-link i {
        margin: 0 !important;
        font-size: 1.2rem;
    }
}
