/* Nursery Attendance System Styles */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout */
.content {
    margin-left: 280px;
    padding: 80px 20px 20px;
    transition: all 0.3s;
}

.content.expanded {
    margin-left: 0;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #343a40;
    color: #fff;
    min-height: calc(100vh - 56px);
    transition: all 0.3s;
    position: fixed;
    top: 56px;
    left: 0;
    z-index: 1000;
}

.sidebar.collapsed {
    margin-left: -280px;
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-menu-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu-item:hover, .sidebar-menu-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

/* Tables */
.table th {
    font-weight: 600;
    border-top: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.03);
}

/* Forms */
.form-control:focus {
    box-shadow: none;
    border-color: #80bdff;
}

/* Status Messages */
.status-message {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    padding: 20px;
}

.auth-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

/* Dashboard Stats */
.stat-card {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -280px;
    }
    
    .sidebar.show {
        margin-left: 0;
    }
    
    .content {
        margin-left: 0;
    }
}
