.exam-container {
    min-height: 400px;
    margin: auto;
    padding: 2rem;
    width: 100%;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.exam-title {
    color: #feaf50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(254, 175, 80, 0.2);
}

.question-container {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #2a2a2a;
    border-radius: 6px;
    border-left: 4px solid #feaf50;
}

.question-title {
    color: #feaf50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.question-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    background-color: #2a2a2a;
    border-color: #feaf50;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 1rem;
    accent-color: #feaf50;
}

.option-text {
    font-size: 1rem;
    color: #ffffff;
}

.answer-container {
    margin-top: 1rem;
}

.free-answer {
    width: 100%;
    padding: 1rem;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    font-size: 1rem;
    color: #ffffff;
    resize: vertical;
    min-height: 120px;
}

.free-answer:focus {
    outline: none;
    border-color: #feaf50;
    box-shadow: 0 0 0 2px rgba(254, 175, 80, 0.2);
}

.free-answer::placeholder {
    color: #666666;
}

.submit-container {
    text-align: center;
    margin-top: 2rem;
}

.submit-button {
    background-color: #feaf50;
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #ffb347;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 175, 80, 0.3);
}

/* Modal de Confirmação */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    border: 1px solid #feaf50;
}

.modal-content h3 {
    color: #feaf50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.confirm-button {
    background-color: #feaf50;
    color: #000000;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-button:hover {
    background-color: #ffb347;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 175, 80, 0.3);
}

.cancel-button {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #feaf50;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background-color: #444444;
    transform: translateY(-2px);
}

/* Estilos da Correção */
.correction-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.correction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.correction-header h1 {
    color: #feaf50;
    font-size: 2rem;
    margin: 0;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.status-badge.approved {
    background-color: #4caf50;
    color: white;
}

.status-badge.rejected {
    background-color: #f44336;
    color: white;
}

.status-badge.pending {
    background-color: #ff9800;
    color: white;
}

.messages {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #4caf50;
    color: white;
}

.alert-error {
    background-color: #f44336;
    color: white;
}

.question-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #feaf50;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.question-header h2 {
    color: #feaf50;
    font-size: 1.2rem;
    margin: 0;
}

.question-type {
    background-color: #333;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.question-content {
    margin-bottom: 1.5rem;
}

.instruction {
    color: #feaf50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.question-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5;
}

.answers-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 6px;
}

.student-answer, .correct-answer {
    padding: 1rem;
    background-color: #2a2a2a;
    border-radius: 6px;
}

.student-answer h3, .correct-answer h3 {
    color: #feaf50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.selected-options, .correct-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-tag {
    background-color: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.option-tag.correct {
    background-color: #4caf50;
}

.selected-option, .correct-option {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
}

.correction-text-answer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    text-align: left;
    word-break: break-word;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .exam-container,
    .correction-container {
        margin: 1rem;
        padding: 1rem;
    }

    .question-container,
    .question-card {
        padding: 1rem;
    }

    .option {
        padding: 0.6rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .confirm-button,
    .cancel-button {
        width: 100%;
    }

    .answers-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.correct-bg {
    background-color: #1a2d1a !important;
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.07);
}
.incorrect-bg {
    background-color: #2d1a1a !important;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.07);
}
.icon-correct {
    color: #27ae60 !important;
    font-size: 1.5em;
    margin-left: 0.5em;
    vertical-align: middle;
    font-weight: bold;
}
.icon-incorrect {
    color: #f44336;
    font-size: 1.3em;
    margin-left: 0.5em;
    vertical-align: middle;
}

.correction-summary {
    background: #232323;
    border-radius: 10px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}
.summary-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.summary-grade {
    font-size: 2rem;
    font-weight: bold;
    color: #feaf50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.summary-icon {
    font-size: 2.5rem;
    vertical-align: middle;
}
.summary-icon.positive { color: #27ae60; }
.summary-icon.neutral { color: #fbbf24; }
.summary-icon.negative { color: #e74c3c; }
.summary-questions {
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.summary-correct { color: #27ae60; }
.summary-incorrect { color: #e74c3c; }
.summary-total { color: #aaa; }
.summary-bar {
    margin-top: 1.2rem;
    height: 18px;
    width: 100%;
    background: #333;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}
.bar-correct {
    background: #27ae60;
    height: 100%;
    transition: width 0.5s;
}
.bar-incorrect {
    background: #e74c3c;
    height: 100%;
    transition: width 0.5s;
}
