/* ============================================
   Profile V2 - Modern Layout
   ============================================ */

.profile-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* ===== Loading Skeleton ===== */
.profile-loading {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.profile-skeleton-header {
    height: 160px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-skeleton-body {
    height: 400px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-skeleton-header::after,
.profile-skeleton-body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--bg-tertiary), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

/* ===== Profile Header Card ===== */
.profile-header-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.profile-header-bg {
    height: 80px;
    background: var(--gradient-accent);
}

.profile-header-content {
    display: flex;
    align-items: flex-end;
    gap: var(--space-lg);
    padding: 0 var(--space-xl) var(--space-lg);
    margin-top: -40px;
}

.profile-header-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--gradient-accent);
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--card-bg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.profile-header-info {
    flex: 1;
    padding-bottom: var(--space-xs);
    min-width: 0;
}

.profile-header-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.profile-header-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.profile-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.profile-header-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.profile-header-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.profile-header-link:hover {
    text-decoration: underline;
}

.profile-header-actions {
    padding-bottom: var(--space-xs);
    flex-shrink: 0;
}

.profile-header-badge {
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
}

.profile-header-badge--success {
    background: var(--success-light);
    color: var(--success);
}

.profile-header-badge--warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* ===== Profile Body: Sidebar + Content ===== */
.profile-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-lg);
}

/* ===== Sidebar Tabs ===== */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    position: sticky;
    top: 80px;
    align-self: start;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.7rem var(--space-md);
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    text-align: left;
    width: 100%;
}

.profile-tab:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.profile-tab--active {
    background: var(--accent-light);
    color: var(--accent-primary);
    border-color: var(--accent-soft);
}

.profile-tab svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.profile-tab--active svg {
    opacity: 1;
}

.profile-tab-count {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--accent-primary);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Profile Content ===== */
.profile-content {
    min-width: 0;
}

.profile-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.profile-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

/* ===== Form Grid ===== */
.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.profile-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.profile-form-field--full {
    grid-column: 1 / -1;
    margin-top: var(--space-md);
}

.profile-form-field--checkbox {
    justify-content: flex-end;
    padding-bottom: var(--space-xs);
}

.profile-form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.profile-form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.profile-form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.profile-form-input::placeholder {
    color: var(--text-muted);
}

.profile-form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-family);
}

.profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.profile-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.profile-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

/* ===== Timeline (Experience & Education) ===== */
.profile-timeline {
    position: relative;
    padding-left: var(--space-lg);
}

.profile-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.profile-timeline-item {
    position: relative;
    margin-bottom: var(--space-md);
}

.profile-timeline-dot {
    position: absolute;
    left: -22px;
    top: 12px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--card-bg);
    z-index: 1;
}

.profile-timeline-dot--education {
    background: var(--info);
}

.profile-timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.profile-timeline-card:hover {
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.profile-timeline-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-sm);
}

.profile-timeline-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-timeline-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.profile-timeline-date {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.profile-timeline-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: var(--space-xs);
}

.profile-card-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    flex-shrink: 0;
}

.profile-card-delete:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* ===== Certifications Grid ===== */
.profile-certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.profile-cert-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.profile-cert-card:hover {
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.profile-cert-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.profile-cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--warning-light);
    color: var(--warning);
}

.profile-cert-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-cert-issuer {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.profile-cert-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.profile-cert-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    margin-top: var(--space-xs);
}

.profile-cert-link:hover {
    text-decoration: underline;
}

/* ===== Vacancies Page Extras ===== */
.vacancies-hero {
    position: relative;
    background: linear-gradient(135deg, #0B132B 0%, #1C3F6A 100%);
    padding: 3rem 1.5rem 2.5rem;
    overflow: hidden;
}

.vacancies-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.vacancies-hero-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vacancies-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.vacancies-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.vacancies-hero-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: 1.5rem;
}

.vacancies-hero-results-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.vacancies-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.vacancies-clear-all:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.vacancies-chips {
    margin-top: var(--space-md);
}

.vacancies-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: 0 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.vacancies-results-section {
    padding: 0 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vacancies-page-count {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.vacancies-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.vacancies-filter-remove {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.vacancies-filter-remove:hover {
    opacity: 1;
}

.vacancies-pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
}

.vacancies-page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.vacancies-page-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.vacancies-page-btn--active {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: var(--accent-primary);
}

/* ===== Filter toolbar (busqueda con filtros + mapa) ===== */
.vacancies-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    max-width: 1168px;
    margin: var(--space-xl) auto var(--space-md);
    padding: var(--space-md);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.vacancies-toolbar-actions {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.vacancies-match-btn {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.vacancies-match-btn:hover {
    background: var(--accent-light);
}

.vacancies-match-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.vacancies-toolbar-filters {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    flex-wrap: wrap;
    flex: 1;
}

.vacancies-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vacancies-filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-left: 2px;
}

.vacancies-filter-select {
    appearance: none;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 9rem;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow;
}

select.vacancies-filter-select {
    padding-right: 1.9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23778DA9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-size: 0.85rem;
}

.vacancies-filter-select:hover,
.vacancies-filter-select:focus {
    border-color: var(--accent-primary);
    outline: none;
}

.vacancies-filter--salary .vacancies-filter-select {
    min-width: 7rem;
}

.vacancies-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow;
}

.vacancies-map-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.vacancies-map-btn--active {
    background: var(--accent-light);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ===== Modal del mapa (LocationMapPicker) ===== */
.map-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: map-modal-fade 180ms ease-out;
}

@keyframes map-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.map-modal {
    width: min(680px, 100%);
    max-height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-lg, 20px);
    box-shadow: 0 24px 60px rgba(11, 19, 43, 0.35);
    overflow: hidden;
    animation: map-modal-pop 200ms ease-out;
}

@keyframes map-modal-pop {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.5rem;
}

.map-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.map-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm, 8px);
    transition: var(--transition-fast);
    transition-property: color, background-color;
}

.map-modal-close:hover {
    color: var(--text-primary);
    background: var(--accent-light);
}

.map-modal-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 1.25rem 0.75rem;
    padding: 0 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    color: var(--text-muted);
}

.map-modal-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem 0;
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.map-modal-results {
    margin: -0.4rem 1.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    overflow: hidden;
    max-height: 180px;
    overflow-y: auto;
}

.map-modal-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.9rem;
    border: none;
    background: none;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-fast);
    transition-property: background-color;
}

.map-modal-result:hover {
    background: var(--accent-light);
}

.map-modal-result strong {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.map-modal-result span {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-modal-canvas {
    height: 340px;
    margin: 0 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--accent-light);
}

.map-modal-canvas--error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.map-modal-footer {
    padding: 0.85rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.map-modal-radius {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-modal-radius label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.map-modal-radius input[type="range"] {
    flex: 1;
    accent-color: var(--accent-primary);
}

.map-modal-radius-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-primary);
    min-width: 3.2rem;
    text-align: right;
}

.map-modal-picked {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    min-height: 1.2rem;
}

.map-modal-picked--empty {
    color: var(--text-muted);
    font-weight: 400;
}

.map-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.map-modal-btn {
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    transition-property: color, background-color, border-color, box-shadow;
}

.map-modal-btn--ghost {
    background: none;
    color: var(--text-primary);
}

.map-modal-btn--ghost:hover {
    background: var(--accent-light);
}

.map-modal-btn--primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #FFFFFF;
}

.map-modal-btn--primary:hover:not(:disabled) {
    filter: brightness(0.92);
}

.map-modal-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Marcador del mapa (divIcon, sin imagenes) */
.otw-pin {
    position: relative;
}

.otw-pin-dot {
    position: absolute;
    inset: 4px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--accent-primary);
    border: 2px solid #FFFFFF;
    box-shadow: 0 3px 10px rgba(11, 19, 43, 0.4);
}

.otw-radius-circle {
    stroke: var(--accent-primary);
    stroke-opacity: 0.55;
    stroke-width: 1.5;
    stroke-dasharray: 6 5;
    fill: var(--accent-primary);
    fill-opacity: 0.08;
}

@media (prefers-reduced-motion: reduce) {
    .map-modal-backdrop,
    .map-modal {
        animation: none;
    }
}

/* ===== Skeleton de tarjeta de vacante (misma silueta que home-vacancy-card) ===== */
.vacancy-skeleton-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.1rem 1.2rem;
    height: 210px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
}

.vacancy-skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--bg-tertiary), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

.vsk-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vsk-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.vsk-company {
    width: 38%;
    height: 11px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.vsk-badge {
    margin-left: auto;
    width: 64px;
    height: 22px;
    border-radius: 999px;
    background: var(--bg-tertiary);
}

.vsk-title {
    width: 72%;
    height: 17px;
    border-radius: 8px;
    background: var(--bg-tertiary);
}

.vsk-line {
    width: 100%;
    height: 10px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.vsk-line--short {
    width: 62%;
}

.vsk-meta {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.vsk-chip {
    width: 90px;
    height: 12px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.vsk-chip--salary {
    width: 110px;
}

.vsk-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-color);
}

.vsk-views {
    width: 34px;
    height: 10px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

.vsk-action {
    width: 70px;
    height: 12px;
    border-radius: 6px;
    background: var(--bg-tertiary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .profile-body {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: var(--space-xs);
        padding-bottom: var(--space-xs);
    }

    .profile-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .profile-header-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 var(--space-lg) var(--space-lg);
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-certs-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-actions {
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
    }
}
