/* Custom Styles for RaphaBethel School */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --dark-color: #333;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Navbar */
.navbar-brand img {
    height: 40px;
}

/* Sidebar */
#sidebar {
    min-height: calc(100vh - 56px);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sidebar-sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 56px);
    padding-top: 20px;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card .stat-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-card .stat-label {
    color: #666;
    font-size: 0.9em;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

/* Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Tables */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .sidebar-sticky {
        height: auto;
    }
}