/*
 * GuateWork — proyectos.css v2
 * Alineado al nuevo sistema de diseño (gw-theme.css)
 */

.job-status-indicator {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
}

.status-active    { background: #EEF0FF; color: #3B37E8; }
.status-assigned  { background: #fef3c7; color: #d97706; }
.status-completed { background: #d1fae5; color: #059669; }
.status-cancelled { background: #fee2e2; color: #dc2626; }
.status-new       { background: #EEF0FF; color: #3B37E8; }
.status-viewed    { background: #f5f3ff; color: #7c3aed; }
.status-accepted  { background: #d1fae5; color: #059669; }
.status-rejected  { background: #fee2e2; color: #dc2626; }

.job-featured {
    background: #fef9c3;
    color: #854d0e;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
}

/* ── Tarjeta de publicación ──────────────────────────────── */
.publication-option {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(59,55,232,.10);
    padding: 28px;
    margin-bottom: 30px;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    height: 100%;
    border: 2px solid transparent;
}
.publication-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(59,55,232,.18);
    border-color: #c7d2fe;
}
.publication-option h3 {
    color: #1e1b4b;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.publication-option p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.65;
}
.publication-btn { text-align: center; margin-top: 20px; }
.publication-btn .link-btn {
    display: inline-block;
    background: #3B37E8;
    color: #fff;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.22s ease;
    letter-spacing: .3px;
}
.publication-btn .link-btn:hover {
    background: #1e1ab0;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,55,232,.28);
}

/* ── Sin resultados ──────────────────────────────────────── */
.no-results { text-align: center; padding: 60px 20px; }
.no-results img { max-width: 140px; margin-bottom: 20px; opacity: .7; }
.no-results h3  { color: #1e1b4b; font-size: 22px; margin-bottom: 8px; font-weight: 700; }
.no-results p   { color: #6b7280; margin-bottom: 20px; font-size: 14px; }
.no-results-btn {
    display: inline-block;
    background: #3B37E8;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.22s ease;
}
.no-results-btn:hover {
    background: #1e1ab0;
    color: #fff !important;
}

/* ── Lista de postulantes ────────────────────────────────── */
.applicants-list { margin-top: 20px; }
.applicant-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(59,55,232,.08);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #e0e7ff;
    transition: all 0.22s ease;
}
.applicant-item:hover {
    box-shadow: 0 6px 20px rgba(59,55,232,.14);
    border-color: #c7d2fe;
}
.applicant-left  { flex: 1; }
.applicant-dt    { display: flex; align-items: center; }
.applicant-img   { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; margin-right: 14px; }
.applicant-img img { width: 100%; height: 100%; object-fit: cover; }
.applicant-info h4 { font-size: 16px; font-weight: 700; color: #1e1b4b; margin-bottom: 4px; }
.applicant-date  { color: #6b7280; font-size: 13px; display: block; margin-bottom: 6px; }
.applicant-status { margin-top: 4px; }
.applicant-status-indicator {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.applicant-right {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Botones de acción de postulante */
.view-profile, .view-proposal, .accept-btn, .reject-btn {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}
.view-profile  { background: #EEF0FF; color: #3B37E8; }
.view-proposal { background: #f5f3ff; color: #7c3aed; }
.accept-btn    { background: #d1fae5; color: #059669; }
.reject-btn    { background: #fee2e2; color: #dc2626; }
.view-profile:hover  { background: #3B37E8; color: #fff !important; }
.view-proposal:hover { background: #7c3aed; color: #fff !important; }
.accept-btn:hover    { background: #059669; color: #fff !important; }
.reject-btn:hover    { background: #dc2626; color: #fff !important; }

/* Botones de modal */
.modal-btn-close, .modal-btn-accept, .modal-btn-reject {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    border: none;
}
.modal-btn-close  { background: #f3f4f6; color: #374151; }
.modal-btn-accept { background: #10b981; color: #fff; }
.modal-btn-reject { background: #ef4444; color: #fff; }
.modal-btn-close:hover  { background: #e5e7eb; }
.modal-btn-accept:hover { background: #059669; }
.modal-btn-reject:hover { background: #dc2626; }

/* Propuesta */
.propuesta-details { padding: 16px; }
.propuesta-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: #f8f9ff;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid #e0e7ff;
}
.propuesta-item { flex: 1; min-width: 140px; }
.propuesta-label { font-weight: 700; color: #1e1b4b; margin-bottom: 4px; font-size: 13px; }
.propuesta-text h5 { margin-bottom: 8px; font-weight: 700; color: #1e1b4b; }
.propuesta-text p  { line-height: 1.65; color: #6b7280; font-size: 14px; }

/* ── Servicios ───────────────────────────────────────────── */
.service-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(59,55,232,.09);
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    height: 100%;
    border: 2px solid transparent;
}
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(59,55,232,.16);
    border-color: #c7d2fe;
}
.service-icon { color: #3B37E8; margin-bottom: 14px; font-size: 28px; }
.service-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #1e1b4b; }
.service-content p  { color: #6b7280; margin-bottom: 18px; font-size: 14px; line-height: 1.65; }
.service-cta { margin-top: 12px; }
.btn-service {
    display: inline-block;
    background: #3B37E8;
    color: #fff;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.22s ease;
}
.btn-service:hover {
    background: #1e1ab0;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59,55,232,.28);
}
.coming-soon {
    background: #f8f9ff;
    color: #6b7280;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 14px;
    display: inline-block;
    margin-top: 18px;
    border: 1px solid #e0e7ff;
}