/* Custom styles for the AI Educational Platform */

:root {
    --edu-primary: #007bff;
    --edu-success: #28a745;
    --edu-warning: #ffc107;
    --edu-danger: #dc3545;
    --edu-info: #17a2b8;
}

/* General improvements */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card enhancements */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: var(--bs-gray-100);
    border-bottom: 1px solid var(--bs-border-color);
}

/* Button improvements */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-group .btn {
    margin-right: 0.25rem;
}

/* Progress chart container */
#progressChart {
    max-height: 300px;
}

/* Feedback styling */
.feedback-text {
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Table improvements */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: var(--bs-gray-700);
}

/* Badge improvements */
.badge {
    font-size: 0.8em;
    padding: 0.5em 0.75em;
}

/* Form improvements */
.form-control, .form-select {
    border-radius: 0.375rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Navigation improvements */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Progress bar styling */
.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
}

/* Icon spacing */
.fas, .far {
    margin-right: 0.25rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-group .btn {
        margin-right: 0;
    }
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
}

/* Empty states */
.text-center.py-5 {
    padding: 3rem 1rem !important;
}

/* Assignment type badges */
.badge.bg-secondary {
    background-color: var(--bs-info) !important;
}

/* Grade styling */
.display-4 {
    font-weight: 700;
}

/* Card hover effects */
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s ease-in-out;
}

/* Assignment description styling */
.bg-light {
    background-color: var(--bs-gray-100) !important;
}

/* File upload styling */
.form-control[type="file"] {
    padding: 0.5rem;
}

/* Navigation active states */
.nav-link.active {
    font-weight: 600;
}

/* Dashboard stats cards */
.dashboard-stat {
    text-align: center;
    padding: 1.5rem;
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Assignment cards */
.assignment-card {
    transition: transform 0.2s ease-in-out;
}

.assignment-card:hover {
    transform: translateY(-2px);
}

/* Footer improvements */
footer {
    margin-top: auto;
}

/* Submission status indicators */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-submitted {
    background-color: var(--edu-warning);
}

.status-graded {
    background-color: var(--edu-success);
}

.status-pending {
    background-color: var(--edu-danger);
}
input, select, textarea {
    color: #000 !important; /* Black text */
    background-color: #fff !important;
    border: 1px solid #ccc;
}label {
    color: #000 !important;
    font-weight: 600;
}