.dashboard-container {
    padding: 20px;
}

.welcome-section {
    background: linear-gradient(45deg, #7c3aed, #6d28d9);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.dark-mode .dashboard-card {
    background: #2d2d2d;
    color: #fff;
}

.student-table {
    width: 100%;
    margin-top: 20px;
}

.student-table th {
    background: #f3f4f6;
    padding: 12px;
}

.dark-mode .student-table th {
    background: #374151;
    color: #fff;
}

.student-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .student-table td {
    border-bottom: 1px solid #4b5563;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #2563eb;
    color: white;
}

.delete-btn {
    background: #dc2626;
    color: white;
}

.marks-btn {
    background: #059669;
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.student-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.dark-mode .modal-content {
    background: #2d2d2d;
    color: #fff;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
}

.search-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.dark-mode .search-box {
    background: #374151;
    border-color: #4b5563;
    color: #fff;
}

.stats-card {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.stats-number {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

/* Adding responsive styles for stats cards */
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 15px;
    }
    
    .stats-number {
        font-size: 20px;
    }
    
    .stats-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .row > [class*='col-'] {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .stats-card {
        margin-bottom: 10px;
    }
    
    .welcome-section {
        padding: 20px;
    }
    
    .welcome-section h2 {
        font-size: 24px;
    }
} 