/* =========================================
   UPLOAD SECTION
   ========================================= */

.upload-job-wrapper {
    margin-bottom: 18px;
}

.job-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95em;
}

.job-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95em;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-browse-text {
    font-size: 0.9em;
}

.upload-info-text {
    font-size: 0.85em;
    color: var(--text-muted);
}

.recent-uploads {
    margin-top: 24px;
}

.recent-uploads-title {
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.file-list {
    min-height: 40px;
    color: var(--text-muted);
    font-size: 0.95em;
}


/* =========================================
   JOB DESCRIPTION SECTION
   ========================================= */

.job-title-input,
.job-desc-input {
    border-radius: 10px;
}

.jobs-list {
    min-height: 40px;
}

.job-help-text {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: 16px;
    line-height: 1.5;
}


/* =========================================
   CANDIDATE FILTER
   ========================================= */

.candidate-filter-wrapper {
    margin-bottom: 20px;
    max-width: 450px;
}

.candidate-filter {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95em;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}


/* =========================================
   CANDIDATE TABLE
   ========================================= */

.empty-candidates {
    text-align: center;
    color: var(--text-muted);
    padding: 50px 20px;
    font-size: 0.95em;
}

.empty-candidates-icon {
    font-size: 2em;
    margin-bottom: 12px;
    display: block;
    opacity: 0.4;
}


/* =========================================
   TOP MATCHES
   ========================================= */

.top-matches-container {
    display: grid;
    gap: 20px;
}

.top-matches-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
}


/* =========================================
   ANALYTICS
   ========================================= */

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: linear-gradient(
        135deg,
        var(--bg-light) 0%,
        rgba(250, 247, 252, 0.7) 100%
    );
    padding: 24px;
    border-radius: 12px;
}

.analytics-card-primary {
    border-left: 4px solid var(--primary);
}

.analytics-card-success {
    border-left: 4px solid var(--success);
}

.analytics-card-high-match {
    border-left: 4px solid #10b981;
}

.analytics-card-purple {
    border-left: 4px solid var(--accent-purple);
}

.analytics-label {
    color: var(--text-muted);
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.analytics-value {
    font-size: 2.5em;
    font-weight: 700;
}

.analytics-value-primary {
    color: var(--primary);
}

.analytics-value-success {
    color: var(--success);
}

.analytics-value-high-match {
    color: #10b981;
}

.analytics-value-purple {
    color: var(--accent-purple);
}