/* Task 036-B — Job Seeker CSS */
/* Aligned with job.css design tokens */

:root {
    --yp-seeker-primary: #7c3aed;
    --yp-seeker-featured: #f59e0b;
    --yp-seeker-bg: #f8f9fa;
    --yp-seeker-card-bg: #ffffff;
    --yp-seeker-border: #e5e7eb;
    --yp-seeker-text: #1a1a1a;
    --yp-seeker-muted: #6b7280;
    --yp-seeker-radius: 12px;
    --yp-seeker-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ─── List Page ─────────────────────────────── */

.yp-seekers-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px;
}

.yp-seekers-header {
    margin-bottom: 24px;
}

.yp-seekers-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--yp-seeker-text);
    margin-bottom: 4px;
}

.yp-seekers-subtitle {
    font-size: 14px;
    color: var(--yp-seeker-muted);
    margin-bottom: 8px;
}

.yp-seekers-count {
    font-size: 13px;
    color: var(--yp-seeker-muted);
}

/* ─── Seeker Card ────────────────────────────── */

.yp-seekers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yp-seeker-card {
    background: var(--yp-seeker-card-bg);
    border: 1px solid var(--yp-seeker-border);
    border-radius: var(--yp-seeker-radius);
    padding: 20px;
    box-shadow: var(--yp-seeker-shadow);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.yp-seeker-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--yp-seeker-primary);
}

.yp-seeker-card.featured {
    border-left: 4px solid var(--yp-seeker-featured);
}

.yp-seeker-card-body {
    margin-bottom: 12px;
}

.yp-seeker-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.yp-seeker-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--yp-seeker-text);
}

.yp-seeker-name a {
    color: inherit;
    text-decoration: none;
}

.yp-seeker-name a:hover {
    color: var(--yp-seeker-primary);
}

.yp-seeker-badge {
    margin-right: 4px;
}

.yp-seeker-position {
    font-size: 13px;
    color: var(--yp-seeker-primary);
    font-weight: 600;
    background: #f3f0ff;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Tags */
.yp-seeker-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.yp-seeker-tag {
    font-size: 12px;
    color: var(--yp-seeker-muted);
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
}

.yp-seeker-tag.salary {
    color: #059669;
    background: #ecfdf5;
    font-weight: 600;
}

.yp-seeker-skills,
.yp-seeker-langs {
    font-size: 13px;
    color: var(--yp-seeker-muted);
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Card Footer */
.yp-seeker-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

/* ─── Detail Page ────────────────────────────── */

.yp-seeker-detail {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 16px;
}

.yp-seeker-detail-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.yp-seeker-detail-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.yp-seeker-detail-position {
    font-size: 16px;
    color: var(--yp-seeker-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.yp-seeker-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yp-seeker-detail-tag {
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
    background: #f3f4f6;
    color: var(--yp-seeker-muted);
}

.yp-seeker-detail-tag.highlight {
    background: #ecfdf5;
    color: #059669;
    font-weight: 600;
}

/* Detail Sections */
.yp-seeker-section {
    margin-bottom: 24px;
}

.yp-seeker-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--yp-seeker-text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.yp-seeker-section-content {
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
}

/* Info Grid */
.yp-seeker-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.yp-seeker-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yp-seeker-info-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.yp-seeker-info-value {
    font-size: 14px;
    color: var(--yp-seeker-text);
    font-weight: 500;
}

/* Contact Box */
.yp-seeker-contact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.yp-seeker-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
}

.yp-seeker-contact-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.yp-seeker-contact-icon {
    width: 28px;
    text-align: center;
    color: var(--yp-seeker-primary);
}

/* Back link */
.yp-seeker-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--yp-seeker-muted);
    margin-bottom: 20px;
}

.yp-seeker-back:hover {
    color: var(--yp-seeker-primary);
    text-decoration: none;
}

/* ─── Responsive ─────────────────────────────── */

@media (max-width: 600px) {
    .yp-seekers-title { font-size: 22px; }
    .yp-seeker-card { padding: 16px; }
    .yp-seeker-card-top { flex-direction: column; align-items: flex-start; gap: 6px; }
    .yp-seeker-detail-name { font-size: 22px; }
    .yp-seeker-info-grid { grid-template-columns: 1fr; }
}
