/*
 * De ce exista:
 * Acest fisier stilizeaza lista joburilor muncitorului din Lot 6.
 *
 * Responsabilitate:
 * Adauga spacing-ul si ritmul vizual pentru filtrele si cardurile de job.
 *
 * Ce NU face:
 * Nu afecteaza cererile disponibile sau ecranele clientului.
 *
 * Depinde de:
 * CSS-ul shared app-v2 si template-ul worker-jobs-list.
 */

.v2-screen--worker-jobs-list {
    display: grid;
    gap: 20px;
}

.v2-worker-jobs-hero {
    margin-bottom: 0;
}

.v2-worker-jobs-filter-card {
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(220, 252, 231, 0.72), transparent 34%),
        #ffffff;
}

.v2-worker-jobs-filter-shell {
    display: grid;
    gap: 12px;
}

.v2-screen--worker-jobs-list .v2-status-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 8px;
}

.v2-screen--worker-jobs-list .v2-status-filter-row .v2-button-secondary,
.v2-screen--worker-jobs-list .v2-status-filter-row .v2-button-ghost {
    min-height: 42px;
    width: 100%;
    justify-content: center;
    white-space: normal;
}

.v2-screen--worker-jobs-list .v2-results-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.v2-screen--worker-jobs-list .v2-empty-state-recovery-row {
    margin-top: 0;
}

.v2-screen--worker-jobs-list .v2-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.v2-screen--worker-jobs-list .v2-results-head-copy {
    display: grid;
    gap: 6px;
}

.v2-screen--worker-jobs-list .v2-results-head-copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #6b7280;
}

.v2-screen--worker-jobs-list .v2-results-grid {
    display: grid;
    gap: 14px;
}

.v2-screen--worker-jobs-list .v2-offer-card {
    gap: 14px;
    padding: 18px;
}

.v2-screen--worker-jobs-list .v2-offer-card-head,
.v2-screen--worker-jobs-list .v2-offer-card-facts {
    gap: 12px;
}

.v2-screen--worker-jobs-list .v2-job-card-meta {
    gap: 10px;
}

.v2-screen--worker-jobs-list .v2-job-card-next-step {
    gap: 6px;
    padding: 14px 15px;
}

.v2-screen--worker-jobs-list .v2-offer-card-actions {
    justify-content: stretch;
}

.v2-screen--worker-jobs-list .v2-offer-card-actions .v2-button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 430px) {
    .v2-screen--worker-jobs-list .v2-results-head {
        flex-direction: column;
    }
}

@media (max-width: 389px) {
    .v2-worker-jobs-filter-card,
    .v2-screen--worker-jobs-list .v2-results-card,
    .v2-screen--worker-jobs-list .v2-offer-card {
        padding: 16px;
    }
}
