/* Shared styles across the application */

body {
    font-family: 'Tajawal', sans-serif;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.modal-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.gemini-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #14b8a6;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Tab Buttons */
.tab-btn.active {
    border-color: #14b8a6;
    color: #14b8a6;
    background-color: #f0fdfa;
}

/* Details/Summary */
details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] > summary .arrow {
    transform: rotate(0deg);
}

.arrow {
    transition: transform 0.2s;
}

/* Icons */
.icon {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 8px;
}

/* Charts */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

/* Student Profile Button */
.student-profile-btn {
    cursor: pointer;
}
