/* ================================
   PERFIL V2.CSS - Diseño Original
   Bolsa de Trabajo Panamá
   ================================ */

/* ===== LAYOUT PRINCIPAL ===== */
.perfil-container {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.perfil-container .container {
    max-width: 1600px; /* Sobrescribir el max-width del container base */
}

/* ===== HEADER DEL PERFIL ===== */
.perfil-header-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.avatar-section {
    position: relative;
}

.user-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.btn-change-photo {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: 4px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-change-photo:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.1);
}

.user-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.75rem 0;
}

.user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.user-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-meta i {
    color: var(--primary-blue);
}

/* ===== ESTADÍSTICAS ===== */
.header-right {
    flex-shrink: 0;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), #1A5278);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #dee2e6, transparent);
}

/* ===== GRID PRINCIPAL (2 COLUMNAS) ===== */
.perfil-grid {
    display: grid;
    grid-template-columns: minmax(600px, 1fr) 450px;
    gap: 2rem;
    align-items: start;
    max-width: 100%;
    overflow: visible;
}

/* ===== COLUMNA PRINCIPAL ===== */
.main-column {
    min-height: 600px;
}

/* ===== NAVEGACIÓN LATERAL VERTICAL ===== */
.section-nav {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.section-nav-btn {
    flex: 1;
    min-width: fit-content;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.section-nav-btn i {
    font-size: 1.125rem;
}

.section-nav-btn:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
}

.section-nav-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(15, 59, 87, 0.2);
}

/* ===== SECCIONES DE CONTENIDO ===== */
.content-sections {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-height: 500px;
}

.content-section {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.section-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0.5rem 0 0 0;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--primary-blue);
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
}

.field-row label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.field-row span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.field-row span:empty::before {
    content: "No especificado";
    color: #adb5bd;
    font-style: italic;
}

/* ===== FORMULARIOS ===== */
.info-fields-edit {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(15, 59, 87, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== BOTONES DE ACCIÓN ===== */
.card-actions {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #dee2e6;
    display: flex;
    gap: 0.75rem;
}

.btn-edit {
    padding: 0.625rem 1.25rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edit:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 59, 87, 0.3);
}

.edit-buttons {
    display: flex;
    gap: 0.75rem;
}

/* ===== PERFIL PROFESIONAL ===== */
.professional-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pro-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #dee2e6;
}

.pro-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.pro-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pro-content {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.95rem;
    min-height: 60px;
}

.pro-content:empty::before {
    content: "Describe tu perfil profesional, experiencia y objetivos...";
    color: #adb5bd;
    font-style: italic;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.1);
}

/* ===== EXPECTATIVAS ===== */
.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.expect-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    gap: 1rem;
    align-items: start;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.expect-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(15, 59, 87, 0.15);
}

.expect-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.expect-content {
    flex: 1;
}

.expect-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
}

.expect-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    min-height: 28px;
}

.expect-value:empty::before {
    content: "No especificado";
    color: #adb5bd;
    font-style: italic;
    font-size: 0.9rem;
}

/* ===== TIMELINE ===== */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-blue), #1A5278);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    margin-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.125rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.5rem 0;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-desc {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

.timeline-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #adb5bd;
}

.timeline-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.timeline-empty h4 {
    color: #6c757d;
    margin: 1rem 0 0.5rem 0;
}

/* ===== HABILIDADES ===== */
.skills-section {
    display: grid;
    gap: 1.5rem;
}

.skills-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.75rem;
}

.skills-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.skills-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.skill-tag .level {
    padding: 0.25rem 0.625rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
}

.skill-tag .remove {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.skill-tag .remove:hover {
    opacity: 1;
    color: #dc3545;
}

/* ===== SIDEBAR DERECHA ===== */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 450px;
}

@media (min-width: 1400px) {
    .sidebar-column {
        position: sticky;
        top: 100px;
    }
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: visible;
    width: 100%;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ===== PROGRESO CIRCULAR ===== */
.progress-card {
    text-align: center;
}

.progress-circle {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 1rem auto;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.progress-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.progress-item i {
    font-size: 0.625rem;
    color: #dee2e6;
}

.progress-item.completed {
    background: #e7f5ff;
    color: var(--primary-blue);
}

.progress-item.completed i {
    color: #28a745;
}

/* ===== CV UPLOAD ===== */
.cv-upload-zone {
    margin-top: 1rem;
}

.upload-placeholder {
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.upload-placeholder p {
    color: #6c757d;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.upload-placeholder small {
    display: block;
    color: #adb5bd;
    font-size: 0.75rem;
    margin-top: 0.75rem;
}

.cv-uploaded {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.cv-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cv-file i {
    font-size: 2.5rem;
    color: #dc3545;
}

.cv-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cv-info small {
    color: #6c757d;
    font-size: 0.75rem;
}

.cv-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-icon-sm.btn-danger {
    background: #dc3545;
}

/* ===== ACCIONES RÁPIDAS ===== */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.action-btn span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.action-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.action-btn i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* ===== ÚLTIMA ACTUALIZACIÓN ===== */
.last-update {
    padding: 1rem;
    background: #fff3cd;
    border-radius: 10px;
    color: #856404;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.last-update strong {
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
    .perfil-container .container {
        max-width: 1480px;
    }
    
    .perfil-grid {
        grid-template-columns: minmax(500px, 1fr) 420px;
    }
}

@media (max-width: 1400px) {
    .perfil-container .container {
        max-width: 1280px;
    }
    
    .perfil-grid {
        grid-template-columns: 1fr 400px;
    }
    
    .sidebar-column {
        max-width: 400px;
    }
}

@media (max-width: 1200px) {
    .perfil-grid {
        grid-template-columns: 1fr 360px;
    }
    
    .sidebar-column {
        max-width: 360px;
    }
    
    .action-btn {
        font-size: 0.8rem;
        padding: 0.75rem 0.875rem;
    }
    
    .sidebar-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .perfil-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-column {
        position: static;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .action-btn {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }
    
    .sidebar-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .perfil-container {
        padding: 90px 1rem 40px;
    }
    
    .perfil-header-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .section-nav {
        flex-direction: column;
    }
    
    .section-nav-btn {
        justify-content: flex-start;
    }
    
    .content-sections {
        padding: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .field-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .user-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .user-info h1 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
/* ================================================
   MIS APLICACIONES - Estilos
   ================================================ */

.aplicaciones-badge {
    background: #FF8C42;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.aplicaciones-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filtro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filtro-btn:hover {
    border-color: #0F3B57;
    color: #0F3B57;
}

.filtro-btn.active {
    background: #0F3B57;
    border-color: #0F3B57;
    color: white;
}

.aplicaciones-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aplicaciones-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}

.aplicaciones-empty .empty-icon {
    font-size: 3.5rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.aplicaciones-empty h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.aplicacion-card {
    background: white;
    border: 1px solid #eaecef;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.aplicacion-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.aplicacion-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.aplicacion-card__empresa-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f0fe, #d0e1ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #0F3B57;
}

.aplicacion-card__info {
    flex: 1;
    min-width: 0;
}

.aplicacion-card__titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F3B57;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aplicacion-card__empresa {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.aplicacion-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #888;
}

.aplicacion-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.aplicacion-card__meta i {
    color: #FF8C42;
}

.aplicacion-card__estado-wrap {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.aplicacion-estado {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.aplicacion-estado--pendiente {
    background: rgba(255,193,7,0.12);
    color: #9a6700;
    border: 1px solid rgba(255,193,7,0.35);
}

.aplicacion-estado--en_revision {
    background: rgba(13,110,253,0.1);
    color: #0a4cbf;
    border: 1px solid rgba(13,110,253,0.25);
}

.aplicacion-estado--aceptado {
    background: rgba(25,135,84,0.1);
    color: #146c43;
    border: 1px solid rgba(25,135,84,0.25);
}

.aplicacion-estado--rechazado {
    background: rgba(220,53,69,0.1);
    color: #b02a37;
    border: 1px solid rgba(220,53,69,0.25);
}

.aplicacion-card__mensaje {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    background: #f8f9ff;
    border-top: 1px solid #eaecef;
    font-size: 0.875rem;
    color: #444;
    font-style: italic;
}

.aplicacion-card__mensaje i {
    color: #0F3B57;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .aplicacion-card__header { flex-wrap: wrap; }
    .aplicacion-card__estado-wrap {
        width: 100%;
        padding-top: 0;
        margin-left: calc(52px + 1rem);
    }
    .filtro-btn { font-size: 0.78rem; padding: 0.4rem 0.75rem; }
}

/* ── Mis Aplicaciones: filtros ── */
.app-filter-btn {
    padding: .45rem 1rem;
    border-radius: 20px;
    border: 2px solid #dee2e6;
    background: white;
    font-family: Poppins, sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all .2s;
}
.app-filter-btn:hover { border-color: #0F3B57; color: #0F3B57; }
.app-filter-btn.active { background: #0F3B57; border-color: #0F3B57; color: white; }

/* ── Application cards ── */
.app-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #eaecef;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.app-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-2px); }

.app-card__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}
.app-card__icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg,#0F3B57,#1a5276);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem; flex-shrink: 0;
}
.app-card__info { flex: 1; min-width: 0; }
.app-card__titulo { font-weight: 700; color: #0F3B57; font-size: 1rem; margin-bottom: .2rem; }
.app-card__empresa { color: #555; font-size: .875rem; margin-bottom: .4rem; }
.app-card__meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.app-card__meta span { font-size: .78rem; color: #888; display: flex; align-items: center; gap: .3rem; }
.app-card__fecha { font-size: .78rem; color: #aaa; white-space: nowrap; }

/* Estado badges */
.app-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .85rem; border-radius: 20px;
    font-size: .78rem; font-weight: 700;
}
.app-badge--pendiente  { background: rgba(255,193,7,.15);  color: #9a6700; border: 1px solid rgba(255,193,7,.4); }
.app-badge--revisada   { background: rgba(13,110,253,.1);  color: #0a4cbf; border: 1px solid rgba(13,110,253,.3); }
.app-badge--aceptada   { background: rgba(25,135,84,.1);   color: #146c43; border: 1px solid rgba(25,135,84,.3); }
.app-badge--rechazada  { background: rgba(220,53,69,.1);   color: #b02a37; border: 1px solid rgba(220,53,69,.3); }
.app-badge--cancelada  { background: #f5f5f5; color: #888; border: 1px solid #ddd; }

.app-card__footer {
    padding: .75rem 1.5rem;
    background: #fafbfc;
    border-top: 1px solid #eaecef;
    font-size: .82rem; color: #555;
    display: flex; align-items: flex-start; gap: .5rem;
}
.app-card__footer i { color: #0F3B57; margin-top: 2px; flex-shrink: 0; }

/* Nav badge counter */
.nav-badge {
    background: #FF8C42; color: white;
    font-size: .68rem; font-weight: 700;
    padding: .15rem .5rem; border-radius: 20px;
    margin-left: .4rem;
}

/* Empty state */
.app-empty {
    text-align: center; padding: 3.5rem 1rem; color: #888;
}
.app-empty i { font-size: 3rem; color: #ddd; margin-bottom: 1rem; display: block; }
.app-empty h3 { color: #555; margin-bottom: .5rem; }