/* General Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

/* Container - Expanded for 1080p */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header - Compact */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.header-content p {
    opacity: 0.9;
    font-size: 13px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tab Navigation */
.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px 30px;
}

.tab-content.active {
    display: block;
}

/* Content Area */
.content {
    padding: 0;
}

/* Sections - Compact */
.section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

/* Factor Cards - Compact */
.factor {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.factor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.factor-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.factor-weight {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

/* Slider Styles - Compact */
.slider-container {
    margin-top: 10px;
    padding: 8px 0;
}

input[type="range"] {
    width: 100%;
    height: 36px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

input[type="range"]::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: #d3d3d3;
    border-radius: 4px;
    border: 1px solid #ccc;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #d3d3d3;
    border-radius: 4px;
    border: 1px solid #ccc;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: grab;
    margin-top: -9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: grab;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

input[type="range"]:active::-moz-range-thumb {
    cursor: grabbing;
    transform: scale(1.1);
}

/* Factor Details */
.factor-description {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.criteria-list {
    margin-top: 10px;
    padding-left: 18px;
}

.criteria-list li {
    font-size: 11px;
    color: #555;
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Total Weight Display */
.total-weight {
    background: #667eea;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.total-weight.invalid {
    background: #dc3545;
}

.total-weight.valid {
    background: #28a745;
}

/* Buttons */
.btn-primary {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f8f9fa;
}

.add-factor-btn {
    background: white;
    border: 2px dashed #667eea;
    color: #667eea;
    padding: 10px 18px;
    border-radius: 8px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 15px;
}

.add-factor-btn:hover {
    background: #f8f9fa;
}

/* Job Test Section */
.job-test {
    background: #fff9e6;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 18px;
    margin-top: 15px;
}

.job-input {
    margin-bottom: 12px;
}

.job-input label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.job-input input[type="text"],
.job-input input[type="number"],
.job-input select,
.job-input textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}

.job-input textarea {
    resize: vertical;
    min-height: 60px;
}

.calculate-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
}

/* Results Display */
.result {
    margin-top: 15px;
    padding: 18px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

.result-rank {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rank-A {
    color: #28a745;
}

.rank-B {
    color: #ffc107;
}

.rank-C {
    color: #dc3545;
}

.result-score {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
}

.result-breakdown {
    text-align: left;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #1976d2;
    margin-bottom: 15px;
}

.remove-factor {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 8px;
}

/* Configuration Tab Specific Styles */
.config-section {
    margin-bottom: 25px;
}

.config-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.criterion-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.criterion-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.criterion-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.criterion-description {
    width: 100%;
    min-height: 50px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    margin-bottom: 10px;
    resize: vertical;
}

.scale-editor {
    margin-top: 12px;
}

.scale-editor h4 {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.scale-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.scale-item label {
    width: 80px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.scale-item input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

/* Rank Editor */
.rank-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.rank-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.rank-name {
    width: 60px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.rank-color {
    width: 60px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.threshold-inputs {
    display: flex;
    gap: 15px;
}

.threshold-inputs label {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.threshold-inputs input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 4px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-buttons button {
    flex: 1;
}

/* Bulk Test Styles */
.bulk-scoring-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    min-height: 500px;
}

.criteria-reference {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    max-height: 600px;
    overflow-y: auto;
    position: sticky;
    top: 20px;
}

.criteria-reference h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.criterion-ref {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.criterion-ref:last-child {
    border-bottom: none;
}

.criterion-ref h4 {
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.criterion-ref h4::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.2s;
}

.criterion-ref.collapsed h4::after {
    transform: rotate(-90deg);
}

.criterion-ref .scale-ref {
    list-style: none;
    padding: 0;
}

.criterion-ref .scale-ref li {
    font-size: 11px;
    color: #555;
    margin-bottom: 4px;
    line-height: 1.4;
}

.criterion-ref.collapsed .scale-ref {
    display: none;
}

.job-scoring-area {
    background: white;
}

.job-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.job-selector select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.progress-badge {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.job-form {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.job-form h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.score-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.score-input-group {
    display: flex;
    flex-direction: column;
}

.score-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.score-input-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

.rank-prediction {
    margin-bottom: 20px;
}

.rank-prediction label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.rank-buttons {
    display: flex;
    gap: 10px;
}

.rank-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.rank-btn:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.rank-btn.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.form-actions button {
    flex: 1;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #667eea;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    background: #e3f2fd;
    border-color: #5568d3;
}

.upload-area p {
    margin-bottom: 10px;
    color: #666;
}

.manual-entry-area {
    border: 2px dashed #28a745;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.2s;
}

.manual-entry-area:hover {
    background: #e8f5e9;
}

.manual-entry-area p {
    margin-bottom: 10px;
    color: #666;
}

.upload-info {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.upload-info code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Validation Report */
.validation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.validation-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.validation-header .header-actions {
    display: flex;
    gap: 10px;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.summary-card:hover {
    transform: translateY(-2px);
}

.summary-card.match-card {
    background: #d4edda;
    border-color: #28a745;
}

.summary-card.mismatch-card {
    background: #f8d7da;
    border-color: #dc3545;
}

.card-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.match-card .card-value {
    color: #28a745;
}

.mismatch-card .card-value {
    color: #dc3545;
}

.card-subtitle {
    font-size: 11px;
    color: #666;
}

/* Report Controls */
.report-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.filter-group, .sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label, .sort-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.sort-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.sort-dir-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-dir-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Jobs Table */
.jobs-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.validation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-weight: 600;
}

.validation-table thead {
    background: #f8f9fa;
    position: sticky;
    top: 0;
}

.validation-table th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.validation-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 600;
}

.validation-table tbody tr {
    transition: background 0.2s;
}

.validation-table tbody tr:hover {
    background: #f8f9fa;
}

.matched-row {
    background: #f8fff9;
}

.mismatched-row {
    background: #fff8f8;
}

.rank-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.match-yes {
    color: #28a745;
    font-weight: 700;
    font-size: 16px;
}

.match-no {
    color: #dc3545;
    font-weight: 700;
    font-size: 16px;
}

.recruiter-dropdown {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    min-width: 120px;
}

.recruiter-dropdown:hover {
    border-color: #667eea;
}

.recruiter-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-details {
    padding: 6px 12px;
    background: white;
    border: 1px solid #667eea;
    color: #667eea;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-details:hover {
    background: #667eea;
    color: white;
}

/* Details Row */
.details-row {
    background: #fafafa !important;
}

.details-row td {
    padding: 0 !important;
}

.job-details {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
}

.job-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.details-section {
    font-size: 12px;
}

.details-section strong {
    display: block;
    margin-bottom: 8px;
    color: #667eea;
    font-weight: 600;
}

.details-section ul {
    list-style: none;
    padding: 0;
}

.details-section li {
    padding: 4px 0;
    color: #555;
    line-height: 1.4;
}

.details-section p {
    margin: 4px 0;
    color: #555;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 25px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 100%;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .tab-content {
        padding: 15px;
    }

    .bulk-scoring-container {
        grid-template-columns: 1fr;
    }

    .criteria-reference {
        position: static;
        max-height: none;
    }

    .score-inputs {
        grid-template-columns: 1fr;
    }

    .summary-cards {
        grid-template-columns: 1fr;
    }

    .report-controls {
        flex-direction: column;
        gap: 15px;
    }

    .filter-group, .sort-group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .validation-table {
        font-size: 11px;
    }

    .validation-table th,
    .validation-table td {
        padding: 8px 5px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
    }

    .header,
    .tabs,
    .btn-primary,
    .btn-secondary,
    .action-buttons {
        display: none;
    }
}

/* 4K TV / Large Display Optimizations */
@media (min-width: 1920px) {
    /* Scale up base font size for better readability */
    body {
        font-size: 18px;
    }

    .container {
        max-width: 1800px;
    }

    /* Header */
    .header-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .header-content p {
        font-size: 16px;
    }

    /* Tab Navigation */
    .tab-btn {
        padding: 16px 24px;
        font-size: 18px;
    }

    /* Section Titles */
    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 17px;
        border-radius: 10px;
    }

    /* Factor cards */
    .factor {
        padding: 20px;
        margin-bottom: 16px;
    }

    .factor-name {
        font-size: 18px;
    }

    .factor-weight {
        font-size: 26px;
    }

    .factor-description {
        font-size: 15px;
    }

    .criteria-list li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    /* Total Weight */
    .total-weight {
        padding: 16px 24px;
        font-size: 20px;
    }

    /* Job Input */
    .job-input label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .job-input input[type="text"],
    .job-input input[type="number"],
    .job-input select {
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Results */
    .result-rank {
        font-size: 56px;
    }

    .result-score {
        font-size: 20px;
    }

    .result-breakdown {
        font-size: 15px;
    }

    /* Info Boxes */
    .info-box {
        padding: 16px;
        font-size: 16px;
    }

    /* Validation Report */
    .validation-header h2 {
        font-size: 28px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-value {
        font-size: 48px;
    }

    .card-subtitle {
        font-size: 14px;
    }

    /* Summary Cards */
    .summary-card {
        padding: 28px;
    }

    /* Report Controls */
    .report-controls {
        padding: 20px;
    }

    .filter-group label,
    .sort-group label {
        font-size: 16px;
    }

    .filter-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .sort-group select {
        padding: 12px 16px;
        font-size: 15px;
    }

    /* Validation Table */
    .validation-table {
        font-size: 17px;
        font-weight: 600;
    }

    .validation-table th {
        padding: 18px 16px;
        font-size: 18px;
        font-weight: 700;
    }

    .validation-table td {
        padding: 18px 16px;
        font-size: 17px;
        font-weight: 600;
    }

    .rank-badge {
        padding: 8px 16px;
        font-size: 17px;
        font-weight: 700;
    }

    .match-yes,
    .match-no {
        font-size: 20px;
    }

    .btn-details {
        padding: 10px 18px;
        font-size: 16px;
    }

    .recruiter-dropdown {
        font-size: 17px;
        font-weight: 600;
        padding: 10px 14px;
        min-width: 140px;
        border: 2px solid #ddd;
    }

    /* Job Details */
    .job-details h4 {
        font-size: 18px;
    }

    .details-section {
        font-size: 15px;
    }

    /* Bulk Test */
    .job-form h3 {
        font-size: 20px;
    }

    .score-input-group label {
        font-size: 15px;
    }

    .score-input-group input {
        padding: 12px 16px;
        font-size: 16px;
    }

    .rank-prediction label {
        font-size: 16px;
    }

    .rank-btn {
        padding: 16px;
        font-size: 22px;
    }

    /* Criteria Reference */
    .criteria-reference h3 {
        font-size: 18px;
    }

    .criterion-ref h4 {
        font-size: 16px;
    }

    .criterion-ref .scale-ref li {
        font-size: 14px;
    }

    /* Job Selector */
    .job-selector select {
        padding: 14px 16px;
        font-size: 16px;
    }

    .progress-badge {
        padding: 8px 16px;
        font-size: 15px;
    }

    /* Config Tab */
    .config-section h3 {
        font-size: 20px;
    }

    .criterion-item,
    .rank-item {
        padding: 20px;
    }

    .criterion-name,
    .criterion-description {
        font-size: 16px;
        padding: 12px 16px;
    }

    .scale-editor h4 {
        font-size: 16px;
    }

    .scale-item label {
        font-size: 15px;
        width: 100px;
    }

    .scale-item input {
        font-size: 15px;
        padding: 10px 14px;
    }

    /* Upload Areas */
    .upload-area,
    .manual-entry-area {
        padding: 50px;
    }

    .upload-area p,
    .manual-entry-area p {
        font-size: 18px;
    }

    .upload-info {
        font-size: 15px;
    }
}
