﻿/* add Raleway font to body */
@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');


body {
    font-family: 'Raleway', sans-serif;
    background-color: #D9DADA;
    font-size: 14px;
    color: #212529
}

.grProgetti tr th.narrow {
    padding: 0;
}

.grProgetti tr td.narrow {
    padding: 0;
}

.save-button {
    background-color: #81c784; /* Green */
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s;
}

    .save-button:hover {
        background-color: #66bb6a;
    }

.annulla-button {
    background-color: #e57373; /*  red */
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s, color 0.2s;
}

    .annulla-button:hover {
        background-color: #c62828;
    }

.addEnte-textbox {
    width: 100%;
    max-width: 320px;
    padding: 8px 12px;
    border: 1.5px solid #eeb7d2;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    margin-right: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .addEnte-textbox:focus {
        border-color: #e75480;
        outline: none;
        box-shadow: 0 0 0 2px #fff0f6;
    }

/*XEUR_ALEX 29/12/2025 */
.heading-panel {
    background-color: #f0f4ff;
    border-radius: 12px;
    border: 2px solid #4a90e2;
    padding: 24px 32px;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.08);
}

    .heading-panel .heading-title {
        font-size: 1.2rem;
        font-weight: bold;
        color: #2d3e50;
        margin-bottom: 12px;
    }

    .heading-panel .quiz-name-textbox {
        width: 60%;
        padding: 8px;
        font-size: 1rem;
        border-radius: 6px;
        border: 1px solid #b0c4de;
    }

    .heading-panel .quiz-duration-textbox {
        width: 60px;
        padding: 6px;
        font-size: 1rem;
        border-radius: 6px;
        border: 1px solid #b0c4de;
        text-align: center;
    }



    
.question-panel {
    background-color: #f5f7fa; /* Light background */
    border-radius: 12px; /* Rounded corners */
    padding: 20px; /* Space inside the box */
    margin-bottom: 20px; /* Space below each panel */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Optional: subtle shadow */
    width: 100%;
}

.choice-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .choice-row .choice-box {
        width: 90%;
        margin-bottom: 10px;
        border-radius: 8px;
        padding: 6px 10px;
        display: block;
        box-sizing: border-box;
        border-width: 1px; /* Thinner border */
        border-style: solid;
        border-color: #ccc; /* Optional: subtle color */
    }

    .choice-row .choice-check input[type="checkbox"] {
        width: 22px;
        height: 22px;
        margin-left: 12px;
    }

    .choice-row .choice-box:focus {
        border-color: #1976d2;
        outline: none;
    }

    .choice-row .choice-radio input[type="radio"] {
        width: 22px;
        height: 22px;
        accent-color: #16a34a; /* Emerald green */
        margin-left: 14px;
        cursor: pointer;
    }

.question-label {
    text-decoration: underline;
    font-weight: bold; /* Optional: make it stand out */
    margin-bottom: 8px; /* Optional: space below label */
    /*display: block; /* Ensures it’s on its own line */
}

.question-textbox {
    width: 100% !important; 
    font-size: 1.05em; /* Slightly smaller font */
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #bbb;
    background-color: #f9fafc;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.save-quiz-panel {
    background-color: #fff0f6;
    border-radius: 10px;
    border: 1px solid #eeb7d2;
    padding: 16px 24px;
    margin-top: 32px;
    text-align: right;
}

.save-pink-button {
    background-color: #e75480;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

    .save-pink-button:hover {
        background-color: #c71585;
    }

/* Style the main selection box */
/*.select2-container {
}

    .select2-container .select2-selection--single {
        height: 40px;
        padding: 8px 12px;
        font-size: 16px;
        border-radius: 6px;
        border: 2px solid #007bff;
        background-color: #f8f9fa;
    }*/

    /* Style the dropdown options */
    /*.select2-container .select2-results__option {
        font-size: 16px;
        padding: 10px;
    }*/

    /* Highlighted option */
    /*.select2-container .select2-results__option--highlighted {
        background-color: #007bff;
        color: #fff;
    }*/


.add-panel {
    background-color: #fff0f6;
    border-radius: 10px;
    border: 1px solid #eeb7d2;
    padding: 16px 24px;
    /*margin-top: 32px;*/
    margin-bottom: 6px;
    display: none;
}

.custom-dropdown {
    padding: 8px 32px 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center/16px 16px;
    font-size: 16px;
    color: #495057;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s;
}

    .custom-dropdown:focus {
        border-color: #80bdff;
        outline: none;
        box-shadow: 0 0 0 2px rgba(0,123,255,.25);
    }


.plus-button {
    background: none;
    border: none;
    color: #007bff;
    font-size: 48px; /* Bigger plus sign */
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    vertical-align: middle; /* Helps with vertical centering */
    display: inline-flex;
    align-items: center; /* Perfect vertical centering */
    justify-content: center;
    transition: color 0.2s;
}

    .plus-button:hover {
        color: #0056b3;
    }


.quiz-landing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #f5f7fa;
}

.quiz-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.start-quiz-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.2s;
}

    .start-quiz-btn:hover {
        background: #0056b3;
    }

/* Admin Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .dashboard-header h1 {
        color: #333;
        font-size: 32px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .dashboard-header p {
        color: #666;
        font-size: 16px;
        margin: 0;
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1.5px solid transparent;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-color: #eeb7d2;
    }

.card-icon {
    width: 60px;
    height: 60px;
    background: #81c784;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: white;
}

    .card-icon.exams {
        background: #64b5f6;
    }

    .card-icon.results {
        background: #ffb74d;
    }

    .card-icon.settings {
        background: #ba68c8;
    }

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

.coming-soon-badge {
    display: inline-block;
    background: #e0e0e0;
    color: #666;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 500;
}

/* Manage Classes Page Styles */
.manage-classes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: 600;
}

.header-content p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.create-class-panel {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1.5px solid #eeb7d2;
}

.panel-header h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }

.button-group {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.error-message {
    color: #e57373;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Classes List */
.classes-list {
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.classes-grid-header {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1fr 1fr 1.5fr;
    gap: 15px;
    padding: 20px 30px;
    background: #f5f5f5;
    border-bottom: 2px solid #eeb7d2;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.class-row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1fr 1fr 1.5fr;
    gap: 15px;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.2s;
}

    .class-row:hover {
        background: #fff0f6;
    }

.class-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.class-description {
    color: #666;
    font-size: 14px;
}

.class-students,
.class-exams {
    color: #666;
    font-size: 14px;
    text-align: center;
}

.class-actions {
    text-align: right;
}

.action-link {
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.view-link {
    background: #81c784;
    color: white;
}

    .view-link:hover {
        background: #66bb6a;
        color: white;
    }

.no-classes-message {
    text-align: center;
    padding: 60px 30px;
    color: #999;
}

    .no-classes-message p:first-child {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .no-classes-message p:last-child {
        font-size: 16px;
        color: #666;
    }

/* Class Details Page Styles */
.class-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.class-header {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.back-navigation {
    margin-bottom: 15px;
}

.back-link {
    color: #81c784;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

    .back-link:hover {
        color: #66bb6a;
    }

.class-title-section h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 600;
}

.class-title-section p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Tab Navigation */
.tab-navigation {
    background: white;
    display: flex;
    gap: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tab-link {
    flex: 1;
    padding: 18px 30px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

    .tab-link:hover {
        background: #f5f5f5;
        color: #333;
    }

    .tab-link.active {
        color: #e75480;
        border-bottom-color: #e75480;
        background: white;
    }

/* Tab Content */
.tab-content {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

    .section-header h2 {
        color: #333;
        font-size: 24px;
        font-weight: 600;
        margin: 0;
    }

.action-buttons {
    display: flex;
    gap: 10px;
}

/* Add Form Panel */
.add-form-panel {
    background: #fff0f6;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 1.5px solid #eeb7d2;
}

    .add-form-panel h3 {
        color: #333;
        font-size: 18px;
        margin-bottom: 20px;
        font-weight: 600;
    }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Data Grid */
.data-grid {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .data-grid th {
        background: #f5f5f5;
        padding: 15px;
        text-align: left;
        font-weight: 600;
        color: #333;
        border-bottom: 2px solid #eeb7d2;
        font-size: 14px;
    }

    .data-grid td {
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        color: #666;
        font-size: 14px;
    }

    .data-grid tr:hover {
        background: #fff0f6;
    }

.delete-link {
    background: #e57373;
    color: white;
}

    .delete-link:hover {
        background: #c62828;
        color: white;
    }

.edit-link {
    background: #64b5f6;
    color: white;
}

    .edit-link:hover {
        background: #1976d2;
        color: white;
    }

/* Exams List */
.exam-card {
    background: white;
    border: 1.5px solid #eeb7d2;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s;
}

    .exam-card:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.exam-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.exam-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.exam-actions {
    display: flex;
    gap: 10px;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* Results Overview */
.results-overview {
    margin-top: 20px;
}

/* Create Exam Page Styles */
.create-exam-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
}

.exam-header {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .exam-header h1 {
        color: #333;
        font-size: 32px;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .exam-header p {
        color: #666;
        font-size: 16px;
        margin: 0;
    }

.exam-info-section {
    background: white;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

    .exam-info-section h2 {
        color: #333;
        font-size: 22px;
        margin-bottom: 25px;
        font-weight: 600;
        padding-bottom: 15px;
        border-bottom: 2px solid #eeb7d2;
    }

.questions-section {
    margin-bottom: 30px;
}

    .questions-section > h2 {
        background: white;
        padding: 20px 30px;
        border-radius: 6px;
        color: #333;
        font-size: 22px;
        margin-bottom: 20px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #e0e0e0;
    }

.question-card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    border-left: 4px solid #e75480;
}

.question-header h3 {
    color: #e75480;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.question-text-group {
    margin-bottom: 25px;
}

    .question-text-group label {
        display: block;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .question-text-group textarea {
        width: 100%;
        resize: vertical;
    }

.answers-group {
    background: #fff8fb;
    padding: 20px;
    border-radius: 6px;
    border: 1.5px solid #eeb7d2;
}

    .answers-group > label {
        display: block;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 15px;
    }

.answer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    background: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

    .answer-row:last-child {
        margin-bottom: 0;
    }

.answer-radio {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.answer-textbox {
    flex: 1;
    margin: 0 !important;
}

.action-buttons-section {
    background: white;
    padding: 25px 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Take Exam Page Styles */
.take-exam-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.exam-info-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #3A7CC5;
    text-align: center;
}

.exam-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.exam-info-card h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.exam-details {
    background: #fff8fb;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    color: #666;
    font-weight: 600;
}

.detail-value {
    color: #333;
}

.exam-instructions {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

    .exam-instructions h3 {
        color: #333;
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .exam-instructions ul {
        margin: 0;
        padding-left: 25px;
    }

    .exam-instructions li {
        color: #666;
        margin-bottom: 10px;
        line-height: 1.6;
    }

.start-button-container {
    margin-top: 30px;
}

.start-exam-button {
    background: #1E5BB0;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(30, 91, 176, 0.3);
}

    .start-exam-button:hover {
        background: #15448A;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(21, 68, 138, 0.4);
    }

.error-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e57373;
    text-align: center;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.error-card h2 {
    color: #c62828;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.back-button {
    display: inline-block;
    background: #e57373;
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

    .back-button:hover {
        background: #c62828;
        color: white;
    }

/* Exam Results Page Styles */
.results-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.results-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.results-header {
    background: linear-gradient(135deg, #e75480 0%, #eeb7d2 100%);
    padding: 50px 30px;
    text-align: center;
    color: white;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.results-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.score-display {
    margin-top: 20px;
}

.score-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.score-label {
    font-size: 18px;
    margin-top: 10px;
    color: white;
    opacity: 0.9;
}

.results-details {
    padding: 40px 30px;
    border-bottom: 2px solid #f0f0f0;
}

    .results-details h2 {
        color: #333;
        font-size: 24px;
        margin-bottom: 25px;
        font-weight: 600;
    }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.detail-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #e75480;
}

.detail-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.results-summary {
    padding: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.success-message {
    background: #e8f5e9;
    border-left: 4px solid #81c784;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.warning-message {
    background: #fff3e0;
    border-left: 4px solid #ffb74d;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.message-icon {
    font-size: 36px;
}

.message-text {
    color: #333;
    line-height: 1.6;
}

.question-review {
    padding: 40px 30px;
}

    .question-review h2 {
        color: #333;
        font-size: 24px;
        margin-bottom: 25px;
        font-weight: 600;
    }

.question-result {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

    .question-result.correct {
        border-color: #81c784;
        background: #f1f8f4;
    }

    .question-result.incorrect {
        border-color: #e57373;
        background: #fef5f5;
    }

.question-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.question-num {
    color: #e75480;
    font-weight: 600;
    font-size: 16px;
}

.result-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.question-result.correct .result-badge {
    background: #81c784;
    color: white;
}

.question-result.incorrect .result-badge {
    background: #e57373;
    color: white;
}

.question-result-text {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.answer-info {
    background: white;
    padding: 15px;
    border-radius: 6px;
}

.your-answer {
    color: #333;
    margin-bottom: 10px;
}

.correct-answer {
    color: #81c784;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.action-buttons {
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
}

.back-home-button {
    display: inline-block;
    background: #e75480;
    color: white;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(231, 84, 128, 0.3);
}

    .back-home-button:hover {
        background: #d43f6a;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(231, 84, 128, 0.4);
    }

/* Bulk Actions Panel */
.bulk-actions-panel {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: left;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .delete-button:hover {
        background-color: #c82333;
    }

    .delete-button:active {
        background-color: #bd2130;
    }

/* Checkbox styling */
.data-grid input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Header checkbox */
.data-grid th input[type="checkbox"] {
    cursor: pointer;
}

/* Make checkbox column narrower */
.data-grid td:first-child,
.data-grid th:first-child {
    width: 40px;
    text-align: center;
}

/* Students list container */
.students-list {
    margin-top: 20px;
}

/* Checkbox styling */
.data-grid input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Header checkbox */
.data-grid th input[type="checkbox"] {
    cursor: pointer;
}

/* Make checkbox column narrower */
.data-grid td:first-child,
.data-grid th:first-child {
    width: 40px;
    text-align: center;
}

/* Students list container */
.students-list {
    margin-top: 20px;
}




