/* --- THEME COLOR VARIABLES --- */
:root {
    --dark-blue: #2c3e50;
    --body-bg: #f4f7f6;
    --light-gray-bg: #f8f9fa;
    --text-muted: #8492a6;
    --white-color: #ffffff;
    --primary-light: #e0f7fa;
    --text-dark: #333;
    --text-light: #555;
    --border-color: #e0e0e0;
    --body-bg: #FFF9F4;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --icon-bg-red: #e91e63;
    --icon-bg-purple: #7a5cfa;
    --icon-bg-orange: #ff9800;
    --icon-bg-yellow: #fbc02d;
    --icon-bg-amber: #ffc107;
    --icon-bg-blue: #2196f3;
    --icon-bg-teal: #009688;
    --icon-bg-green: #4caf50;
    --icon-bg-black: var(--primary-color);
    --icon-bg-rose: #ff7675;
    --color-teal: #2ED0D4;
    --color-orange: #FF8552;
    --color-blue: #4facfe;
    --color-green: #42e695;
    --color-dark-blue: #2c3e50;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* --- STUDENT DASHBOARD STYLING --- */
.student-dashboard {
    padding: 2rem 1rem;
}
.bg-primary {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--secondary-color) !important;
}
.header-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}
.dashboard-header>div {
    position: relative;
    z-index: 2;
}

/* Go Back Button Styling */
.go-back-btn {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: var(--text-muted);
    transition: 0.3s;
}

.go-back-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: rotate(-10deg);
}

.header-title {
    font-size: 1.5rem;
    font-weight: 800;
    /* Extra bold for kids theme */
    letter-spacing: -0.5px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Profile Image */
.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar-wrapper img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Double border effect for pop */
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-avatar-wrapper img:hover {
    transform: rotate(5deg) scale(1.05);
    /* Playful tilt on hover */
}

/* Optional: Online Status Dot */
.header-status-badge {
    position: absolute;
    bottom: 5px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-color: rgb(92, 218, 92);
    ;
    border: 2px solid white;
    border-radius: 50%;
}

.status-badge {
    border: 2px solid white;
    border-radius: 50%;
    margin-top: 10px;
    padding: 5px 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .dashboard-header {
        padding: 2.5rem;
    }

    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.15rem;
    }

    .profile-avatar-wrapper img {
        width: 85px;
        height: 85px;
    }

    .go-back-btn {
        width: 55px;
        height: 55px;
        margin-right: 1.5rem;
    }
}

/* --- NAVIGATION CARDS --- */
.navigation-cards-grid {
    /* background-color: color-mix(in srgb, var(--dark-blue), transparent 20%); */
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.nav-card {
    background-color: var(--white-color);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.nav-card .card-body {
    padding: 1.75rem;
    text-align: center;
}

.nav-card .card-icon {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.nav-card .card-title {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-card .card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- PROFILE SECTION --- */
.profile-section {
    /* padding: 1.5rem; */
    background-color: color-mix(in srgb, var(--dark-blue), transparent 20%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .profile-section {
        padding: 0.5rem;
    }
}

.section-title {
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Profile Picture Card */
.profile-picture-card {
    background-color: var(--light-gray-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.profile-image-large-wrapper img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--dark-blue);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.profile-name {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-id {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background-color: var(--dark-blue);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: #25a8ab;
    transform: scale(1.05);
}

/* Profile Accordion */
.profile-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.profile-accordion .accordion-header .accordion-button {
    background-color: var(--light-gray-bg);
    color: var(--dark-blue);
    font-weight: 600;
    border-radius: 8px;
}

.profile-accordion .accordion-button:not(.collapsed) {
    background-color: var(--dark-blue);
    color: var(--white-color);
    box-shadow: none;
}

.profile-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 208, 212, 0.3);
}

.profile-accordion .accordion-icon {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.profile-accordion .accordion-button:not(.collapsed) .accordion-icon {
    color: var(--white-color);
}

/* --- PROFILE ACCORDION ENHANCEMENTS --- */
.profile-details-list .list-group-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f2f5;
}

.profile-details-list .list-group-item strong {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.profile-details-list .list-group-item span {
    color: var(--text-muted);
    word-break: break-word;
}

@media (min-width: 576px) {
    .profile-details-list .list-group-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
    }

    .profile-details-list .list-group-item strong {
        margin-bottom: 0;
    }
}

.profile-details-list .list-group-item:last-child {
    border-bottom: none;
}

/* --- STUDENT DETAILS MODAL --- */
#studentDetailsModal .modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

#studentDetailsModal .modal-header {
    background-color: var(--dark-blue);
    color: #ffffff;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

#studentDetailsModal .modal-title {
    color: var(--white-color);
}

#studentDetailsModal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#studentDetailsModal .modal-body {
    background-color: #f8f9fa;
}

#studentDetailsModal .modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Modal Nav Tabs */
#studentDetailsModal .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e9ecef;
}

#studentDetailsModal .nav-tabs::-webkit-scrollbar {
    height: 8px;
}

#studentDetailsModal .nav-tabs::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

#studentDetailsModal .nav-item {
    flex-shrink: 0;
}

.profile-upload-label {
    display: inline-block;
    color: var(--dark-blue);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(44, 62, 80, 0.1);
    /* Light background */
}

.profile-upload-label:hover {
    color: #25a8ab;
    /* A slightly darker shade of primary */
    transform: scale(1.05);
}

.profile-upload-label i {
    margin-right: 0.5rem;
}

/* classroom */

.main-header {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    text-align: center;
}


/* --- Section Headers --- */
.section-header {
    font-family: 'Baloo Thambi 2', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem !important;
}

.section-header .fas {
    color: var(--primary-color);
}

/* --- Status Cards (Top Row) --- */
.status-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.status-card .card-body {
    display: flex;
    align-items: center;
    padding: 1.75rem;
}

.status-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: #fff;
}

.status-card .card-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.status-card .card-text {
    color: var(--text-color);
    font-weight: 700;
}

.bg-theme-primary {
    background-color: var(--primary-color);
}

.bg-theme-secondary {
    background-color: var(--secondary-color);
}

.bg-theme-heading {
    background-color: var(--dark-blue);
}

/* --- Class Schedule Card --- */
.class-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: border-left-color 0.3s ease, transform 0.3s ease;
}

.class-card:hover {
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.class-card .class-time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.class-card .teacher-name {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Buttons --- */
.btn-theme-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-theme-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: white;
}

/* --- Accordion (Tasks & Reports) --- */
.tasks-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-item {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    font-weight: 700;
    color: var(--text-color);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #f7feff;
    /* Lighter version of primary color */
    color: var(--primary-color-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body .list-group-item {
    border: none;
    /* Cleaner look for list items */
}

/* --- Modal Styling --- */
.class-details-modal .modal-content {
    border-radius: 15px;
    border: none;
    font-family: var(--font-family);
    background-color: #f8f9fa;
    /* Light background for the modal */
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.details-card {
    background-color: transparent;
    /* Card is just a container now */
    border: none;
}

.card-header-custom {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 20px 15px;
    margin-bottom: 20px;
}

.detail-item {
    background-color: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Makes all cards in a row the same height */
}

.detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-item h6 {
    font-weight: 600;
    color: var(--text-light);
    margin-top: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    background-color: var(--primary-light);
    color: var(--text-dark);
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 600;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

/* Icon Background Colors */
.icon-wrapper.student-icon {
    background-color: var(--icon-bg-red);
}


.icon-wrapper.date-icon {
    background-color: var(--icon-bg-purple);
}

.icon-wrapper.staff-icon {
    background-color: var(--icon-bg-orange);
}

.icon-wrapper.time-icon {
    background-color: var(--icon-bg-yellow);
}

.icon-wrapper.subject-icon {
    background-color: var(--icon-bg-amber);
}

.icon-wrapper.id-icon {
    background-color: var(--icon-bg-blue);
}

.icon-wrapper.type-icon {
    background-color: var(--icon-bg-teal);
}

.icon-wrapper.status-icon {
    background-color: var(--icon-bg-green);
}

/* Special styling for the larger subject item */
.detail-item-subject p {
    background-color: var(--secondary-color);
    color: white;
}

/* .status-badge {
    font-weight: 700 !important;
    text-transform: uppercase;
    color: white !important;
    border-radius: 8px;
} */

.status-badge.status-taken {
    background-color: #28a745 !important;
    /* Green */
}

.status-badge.status-upcoming {
    background-color: #ffc107 !important;
    /* Yellow */
    color: #333 !important;
}

.status-badge.status-cancelled {
    background-color: #dc3545 !important;
    /* Red */
}

.status-badge.status-default {
    background-color: #6c757d !important;
    /* Grey */
}

.syllabus-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.syllabus-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.syllabus-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.class-title-box {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    flex-grow: 1;
    /* Allow it to take available space */
}

.class-status-box {
    background-color: #6c757d;
    /* Grey */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.syllabus-list-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.syllabus-tags .syllabus-badge {
    background-color: var(--primary-light);
    color: var(--text-dark);
    border: 1px solid #b2ebf2;
    font-weight: 500;
    padding: 0.4em 0.8em;
    margin: 0.2rem;
    font-size: 0.85rem;
}

.list-group-item {
    border-top-color: lightgray !important;
    border-bottom-color: lightgray !important;
    border-right-color: lightgray !important;
}

/* student portal background style */

/* 2. The Full Screen Background Wrapper */
.funny-background-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    /* Behind everything */
    overflow: hidden;
}

/* 3. Squishy Blob Styles */
.blob {
    position: absolute;
    filter: blur(2px);
    opacity: 0.6;
    z-index: -1;
    animation: flyAndSquish 15s infinite ease-in-out alternate;
}

/* Blob Colors & Positions */
.blob-1 {
    top: 5%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #2ED0D4;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: #FF8552;
    /* Orange */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: #e040fb;
    /* Purple */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.4;
    animation-delay: -2s;
}

/* 4. Floating Emojis */

.floating-item {
    position: absolute;
    z-index: -1;
    opacity: 0.6;
}

.floating-item img {
    display: block;
    width: 100%;
    height: auto;
    animation: floatItem 8s ease-in-out infinite;
}

@keyframes floatItem {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Top Left */
.items-1 {
    top: 15%;
    left: 5%;
    width: 100px;
    transform: rotate(-50deg);
}

.items-1 img {
    animation-delay: 0s;
}

/* Top Right */
.items-2 {
    top: 50%;
    right: 15%;
    width: 110px;
    transform: rotate(15deg);
}

.items-2 img {
    animation-delay: 1.5s;
}

/* Bottom Left */
.items-3 {
    bottom: 20%;
    left: 5%;
    width: 120px;
    transform: rotate(10deg);
}

.items-3 img {
    animation-delay: 3s;
}

/* Bottom Right */
.items-4 {
    bottom: 8%;
    right: 5%;
    width: 90px;
    transform: rotate(-15deg);
}

.items-4 img {
    animation-delay: 4.5s;
}

/* Center / Middle Area */
.items-5 {
    top: 45%;
    left: 50%;
    width: 130px;
    transform: translateX(-50%) rotate(5deg);
}

.items-5 img {
    animation-delay: 2s;
}

/* 5. The Animations */

/* Makes blobs move and change shape */
@keyframes flyAndSquish {
    0% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Makes emojis float up and down */
@keyframes floatItem {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-40px) rotate(10deg) scale(1.1);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* student login header */

/* @keyframes hiTilt {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-3deg);
    }

    40% {
        transform: rotate(4deg);
    }
    60% {
        transform: rotate(-1deg);
    }

    80% {
        transform: rotate(0deg);
    }
} */

/* @keyframes welcomeWave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

@keyframes welcomeWave {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-10px) rotate(-20deg); }
    40% { transform: translateY(-10px) rotate(15deg); }
    60% { transform: translateY(-10px) rotate(-15deg); }
    80% { transform: translateY(-10px) rotate(10deg); }
} */

/* @keyframes welcomeWave {
    0% { transform: rotate( 0.0deg); }
   10% { transform: rotate(14.0deg); }  
   20% { transform: rotate(-8.0deg); }  
   30% { transform: rotate(14.0deg); }  
   40% { transform: rotate(-4.0deg); }  
   50% { transform: rotate(10.0deg); }  
   60% { transform: rotate( 0.0deg); } 
  100% { transform: rotate( 0.0deg); }  
} */

/* @keyframes welcomeWave {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    30% { 
        transform: translateY(-8px) rotate(3deg); 
    }
    50% { 
        transform: translateY(0) rotate(-2deg); 
    }
    70% { 
        transform: translateY(-4px) rotate(1deg); 
    }
} */

/* @keyframes welcomeWave {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { 
        transform: scale(1.02) rotate(12deg); 
    }
} */

.hero-header {
    background: var(--primary-gradient);
    padding: 15px;
    border-radius: 0 0 60px 60px;
    position: relative;
    overflow: hidden;
    margin-bottom: 5rem;
    box-shadow: 0 10px 40px rgba(35, 166, 213, 0.2);
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    color: white;
    animation: floatShape 8s infinite ease-in-out;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}

.header-text-box {
    color: white;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
}

.assignment-main-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--icon-bg-purple);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 15px;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.main-title {
  font-family: 'Fredoka One', cursive; 
  font-size: 2rem; 
  color: var(--header-main-title);
  margin: 0; 
  line-height: 2;
}

.sub-title {
    color: var(--header-sub-title);;
    margin: 0;
    font-weight: 600;
}

.mascot-area {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.chat-bubble {
    background: white;
    padding: 18px 25px;
    border-radius: 25px 25px 5px 25px;
    max-width: 300px;
    margin-right: 15px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: floatBubble 3s ease-in-out infinite;
    position: relative;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.mascot-image {
    width: 100px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
}

.mascot-image:hover {
    transform: scale(1.05) rotate(3deg);
}

/* highlight */


    @keyframes spotlightFade {
        0% {
            background-color: rgba(255, 193, 7, 0.5);
            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        }

        100% {
            background-color: rgba(255, 249, 196, 0.6);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
    }

    @keyframes fingerBounce {

        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(-10px);
        }
    }

    tr.interactive-highlight {
        animation: spotlightFade 1.5s ease-out forwards;
        border-left: 6px solid #e6d23e !important;
        border-top: 2px solid #ffecb3 !important;
        border-bottom: 2px solid #ffecb3 !important;
        position: relative;
        z-index: 10;
        transition: all 0.3s ease;
    }

    /* FontAwesome Icon செட்டிங்ஸ் */
    tr.interactive-highlight td:first-child {
        position: relative;
        overflow: visible;
    }

    tr.interactive-highlight td:first-child::before {
        content: '\f0a4';
        /* FontAwesome Right Hand Icon */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: -35px;
        /* வரிசைக்கு வெளியே */
        top: 30%;
        font-size: 22px;
        color: #d32f2f;
        /* சிவப்பு நிற ஐகான் */
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
        animation: fingerBounce 0.8s infinite;
        /* வேகமாக துள்ளும் */
    }

     .animate-arrow {
            animation: bounce 1s infinite;
        }
        @keyframes bounce {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(-5px); }
        }