/* /home/public_html/assets/css/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Toast notifications */
.toast {
    background: white;
    border-left: 4px solid;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.toast-success { border-left-color: #28a745; }
.toast-error { border-left-color: #dc3545; }
/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 56px; /* height of navbar */
    left: 0;
    width: 250px;
    height: calc(100vh - 56px);
    background-color: #343a40 !important; /* dark */
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar .nav-link {
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.8) !important;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white !important;
}

.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    border-left-color: #007bff;
    color: white !important;
}

.sidebar .nav-link i {
    margin-right: 0.5rem;
}

/* Main content area – shifted right when sidebar is present */
.main-content {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s;
}

/* On small screens, sidebar collapses (hamburger toggle) */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    .sidebar.active {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
    }
    .main-content.active {
        margin-left: 250px;
    }
}

/* Optional toggle button */
#sidebarToggle {
    display: none;
}
@media (max-width: 768px) {
    #sidebarToggle {
        display: inline-block;
        margin-right: 10px;
    }
}