/* GradeLight Custom Styles */

/* Custom Spacing and Paddings */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Card Styling */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Upload Area Styling */
.filepond--panel-root {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    border: 2px dashed rgba(var(--bs-primary-rgb), 0.3);
}

.filepond--drop-label {
    color: var(--bs-body-color);
}

.filepond--label-action {
    color: var(--bs-primary);
    text-decoration-color: var(--bs-primary);
}

/* Feature Icons */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress bar animations */
.progress-bar {
    transition: width 0.6s ease;
}

/* Chart container */
canvas#scores-chart {
    max-height: 200px;
}

/* Detail view transitions */
#result-details-card {
    transition: opacity 0.3s ease;
}

#result-details-card.d-none {
    opacity: 0;
}

#result-details-card:not(.d-none) {
    opacity: 1;
}

/* Custom alerts */
.alert {
    border-radius: 0.5rem;
}

/* Login and Register form styles */
.card form .btn-primary {
    padding: 0.75rem 1.5rem;
}

/* Table overflow handling */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Add subtle hover effects to action buttons */
.btn-outline-primary, .btn-outline-secondary, .btn-outline-danger {
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.2);
}

.btn-outline-secondary:hover {
    box-shadow: 0 0 0 3px rgba(var(--bs-secondary-rgb), 0.2);
}

.btn-outline-danger:hover {
    box-shadow: 0 0 0 3px rgba(var(--bs-danger-rgb), 0.2);
}

/* Custom table styling for better readability */
.table th {
    font-weight: 600;
}

.table td, .table th {
    padding: 0.75rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    h1.h2, h2.h2 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}
