/* Modern Minimalist Exam Panel CSS Variables Layout */
.mcq-exam-container.modern-card, 
.mcq-leaderboard-panel-wrapper.modern-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin: 24px auto;
    max-width: 760px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e293b;
}

.exam-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.exam-meta {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* User Identity Section - Flex Grid */
.user-identity-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.input-form-control-wrapper label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #475569;
}

.input-form-control-wrapper input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-form-control-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Questions Block Engine Nodes Styling */
.exam-questions-deck {
    margin-bottom: 32px;
}

.question-node-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.question-node-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.question-prompt-text {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.options-radio-cluster-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.option-label-wrapper {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.option-label-wrapper:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.option-label-wrapper input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.1);
}

.custom-radio-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    text-align: center;
    line-height: 20px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #475569;
    margin-right: 10px;
}

/* Action Execution Controls buttons elements */
.modern-action-submit-btn {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

/* Alert response formatting cards panels */
.success-alert-card {
    margin-top: 24px;
    padding: 24px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534;
    border-radius: 12px;
}

.success-alert-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #14532d;
}

.hidden { display: none !important; }

/* Leaderboard Tables Engine Structures Layout CSS rules */
.leaderboard-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.modern-table-layout {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.modern-table-layout th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.modern-table-layout td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.top-tier-rank-row { background: #fdfaf2; }
.top-tier-rank-row.rank-1 td { background: #fffbeb; color: #92400e; }

.badge-score-pill {
    background: #3b82f6;
    color: white;
    padding: 4px 10px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 12px;
}
