/* Elite Scout School Report Reviewer - Styles */

.ess-submission-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.ess-submission-form h2 {
    color: #8B0000;
    margin-bottom: 10px;
}

.ess-form-group {
    margin-bottom: 20px;
}

.ess-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.ess-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #fafafa;
}

.ess-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    display: block;
}

.ess-btn {
    background: #8B0000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.ess-btn:hover {
    background: #6B0000;
    color: white;
}

.ess-btn-secondary {
    background: #333;
    margin-top: 15px;
}

.ess-btn-sm {
    background: #8B0000;
    color: white;
    padding: 5px 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.ess-success-box {
    background: #f0fff0;
    border: 1px solid #4CAF50;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.ess-success-box h3 {
    color: #2e7d32;
    margin-top: 0;
}

.ess-error-box {
    background: #fff0f0;
    border: 1px solid #f44336;
    border-left: 4px solid #f44336;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    color: #c62828;
}

.ess-notice {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
}

/* Dashboard */
.ess-dashboard {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.ess-dashboard h2 {
    color: #8B0000;
}

.ess-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.ess-stat-box {
    flex: 1;
    background: #8B0000;
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.ess-stat-num {
    font-size: 36px;
    font-weight: bold;
}

.ess-stat-label {
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.9;
}

.ess-reviews-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ess-reviews-table th {
    background: #333;
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 13px;
}

.ess-reviews-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.ess-reviews-table tr:hover td {
    background: #f9f9f9;
}

.ess-score {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.ess-score-high { background: #e8f5e9; color: #2e7d32; }
.ess-score-mid  { background: #fff8e1; color: #f57f17; }
.ess-score-low  { background: #ffebee; color: #c62828; }

/* Modal */
.ess-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    overflow-y: auto;
}

.ess-modal-content {
    background: white;
    max-width: 750px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 6px;
    position: relative;
    line-height: 1.7;
    font-size: 14px;
}

.ess-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.ess-modal-close:hover { color: #333; }

/* Scorecard in success box */
.ess-scorecard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.ess-scorecard-item {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
}

.ess-scorecard-item .label { color: #666; }
.ess-scorecard-item .value { font-size: 18px; font-weight: bold; color: #8B0000; }
