/* ============================================================
   UTILITIES
============================================================ */

.hidden {
    display: none !important;
}

/* ============================================================
   STUDENT INFO
============================================================ */

.student-name {
    font-size: 1.35rem;
    font-weight: 600;
}

.student-meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #6b7280;
}

.meta-separator {
    margin: 0 10px;
    color: #c4c7cc;
}

#studentFederation {
    background: #ccd8e6;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 500;
}

/* ============================================================
   EVALUATION BLOCK
============================================================ */

.evaluation-block {
    background: #fcfeff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Header */

.block-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.block-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.block-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.block-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

.block-evaluator {
    font-size: 0.85rem;
}

/* Status badge */





.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.status-given {
    background: #dcfce7;
    color: #065f46;
}

.status-frozen {
    background: #e5e7eb;
    color: #1f2937;
}

/* ============================================================
   CRITERIA TABLE
============================================================ */

.criteria-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.criteria-table thead {
    background: #f9fafb;
}

.criteria-table th {
    text-align: left;
    padding: 10px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.criteria-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f3f4f6;
}

.criteria-table tbody tr:hover {
    background: #f9fafb;
}

.text-center {
    /*text-align: center;*/
}

/* Grade input */

.grade-input {
    width: 70px;
    padding: 4px 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    transition: border 0.15s ease;
}

.grade-input:focus {
    outline: none;
    border-color: #2563eb;
}

/* ============================================================
   COMMENT
============================================================ */

.block-comment {
    margin-top: 18px;
}

.block-comment label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.block-comment-input {
    width: 100%;
    min-height: 70px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    resize: vertical;
    font-size: 0.9rem;
}

.block-comment-input:focus {
    outline: none;
    border-color: #2563eb;
}

/* ============================================================
   DECISION
============================================================ */

.block-decision {
    margin-top: 14px;
}

.block-decision label:first-child {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.radio-group {
    display: flex;
    gap: 18px;
    align-items: center;
}

.radio-group label {
    font-size: 0.9rem;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-submitted {
    background: #dbeafe;
    color: #1e40af;
}

/* ============================================================
   BLOCK ACTIONS
============================================================ */

.block-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.block-actions button {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-save-draft {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.btn-save-draft:hover {
    background: #e5e7eb;
}

.btn-submit-eval {
    background: #2563eb;
    color: white;
}

.btn-submit-eval:hover {
    background: #1d4ed8;
}

.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.status-submitted {
    background: #dbeafe;
    color: #1e40af;
}

.status-finalized {
    background: #e5e7eb;
    color: #1f2937;
}

.block-readonly {
    opacity: 0.85;
}

.btn-finalize-eval {
    background: #059669;
    color: white;
}

.btn-reopen-draft {
    background: #f59e0b;
    color: white;
}

.btn-reopen-submitted {
    background: #6366f1;
    color: white;
}