    /* Estilos base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        body {
            background-color: #f5f7ff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 2rem;
            width: 100%;
        }

        /* Header */
        .header {
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .titulo-pagina {
            font-size: 2rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .titulo-pagina::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: #0066ff;
            border-radius: 2px;
        }
        
        .btn-volver {
            display: flex;
            align-items: center;
            background: white;
            color: #4a5568;
            border: 1.5px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.25s;
            text-decoration: none;
        }
        
        .btn-volver i {
            margin-right: 8px;
        }
        
        .btn-volver:hover {
            background: #f7fafc;
            border-color: #cbd5e0;
            color: #2d3748;
            transform: translateY(-2px);
        }

        /* Contenido principal */
        .contenido-principal {
            display: flex;
            gap: 2rem;
        }

        /* Tarjeta de vacante */
        .vacante-details {
            flex: 1;
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        /* Secciones */
        .seccion {
            margin-bottom: 2rem;
        }

        .seccion-titulo {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .seccion-titulo::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #4299e1;
            border-radius: 2px;
        }

        /* Grupo de detalles - REDISEÑADO para ocupar menos espacio */
        .detalles-grupo {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .detalle-item {
            background: #f8fafc;
            padding: 0.75rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            transition: all 0.3s ease;
        }
        
        .detalle-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        }

        .detalle-icono {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: #ebf5ff;
            color: #0066ff;
            border-radius: 8px;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .detalle-info {
            flex: 1;
        }

        .detalle-titulo {
            font-size: 0.75rem;
            font-weight: 500;
            color: #4b5563;
            opacity: 0.9;
            margin-bottom: 2px;
        }

        .detalle-contenido {
            font-size: 0.9rem;
            color: #1f2937;
            font-weight: 500;
        }

        /* Descripción */
        .descripcion-seccion {
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: #f8fafc;
            border-radius: 0.75rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
        }

        .descripcion-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #4b5563;
        }
        
        /* Estilos para las listas en la descripción */
        .descripcion-text ul, .descripcion-text ol {
            padding-left: 1.5rem;
            margin: 0.5rem 0;
        }
        
        .descripcion-text li {
            margin-bottom: 0.25rem;
        }

        /* Estilos adicionales para elementos HTML */
        .descripcion-text h1, .descripcion-text h2, .descripcion-text h3, 
        .descripcion-text h4, .descripcion-text h5, .descripcion-text h6 {
            margin-top: 1rem;
            margin-bottom: 0.5rem;
            color: #1f2937;
            font-weight: 600;
        }

        .descripcion-text h1 { font-size: 1.8rem; }
        .descripcion-text h2 { font-size: 1.6rem; }
        .descripcion-text h3 { font-size: 1.4rem; }
        .descripcion-text h4 { font-size: 1.2rem; }
        .descripcion-text h5 { font-size: 1.1rem; }
        .descripcion-text h6 { font-size: 1rem; }

        .descripcion-text a {
            color: #0066ff;
            text-decoration: none;
            transition: color 0.2s;
        }

        .descripcion-text a:hover {
            text-decoration: underline;
            color: #0052cc;
        }

        .descripcion-text blockquote {
            border-left: 4px solid #e5e7eb;
            padding-left: 1rem;
            margin-left: 0;
            margin-right: 0;
            color: #6b7280;
            font-style: italic;
        }

        .descripcion-text code {
            font-family: monospace;
            background-color: #f1f5f9;
            padding: 0.2rem 0.4rem;
            border-radius: 0.25rem;
            font-size: 0.9em;
        }

        .descripcion-text pre {
            background-color: #1f2937;
            color: #e5e7eb;
            padding: 1rem;
            border-radius: 0.5rem;
            overflow-x: auto;
            margin: 1rem 0;
        }

        .descripcion-text pre code {
            background-color: transparent;
            color: inherit;
            padding: 0;
        }

        .descripcion-text table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }

        .descripcion-text th, .descripcion-text td {
            border: 1px solid #e5e7eb;
            padding: 0.5rem;
            text-align: left;
        }

        .descripcion-text th {
            background-color: #f8fafc;
            font-weight: 600;
        }

        .descripcion-text img {
            max-width: 100%;
            height: auto;
            border-radius: 0.5rem;
            margin: 1rem 0;
        }

        /* Botón de postular */
        .postular-btn {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 2rem;
        }

        .btn-postular {
            padding: 1rem 2rem;
            background-color: #0066ff;
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 102, 255, 0.1);
        }

        .btn-postular:hover:not(:disabled) {
            background-color: #0052cc;
            transform: translateY(-2px);
            box-shadow: 0 6px 10px rgba(0, 102, 255, 0.25);
        }

        .btn-postular:disabled {
            background-color: #d1d5db;
            cursor: not-allowed;
        }

        /* Botón para subir CV */
        .btn-subir-cv {
            padding: 1rem 2rem;
            background-color: #f59e0b;
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(245, 158, 11, 0.1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-subir-cv:hover {
            background-color: #d97706;
            transform: translateY(-2px);
            box-shadow: 0 6px 10px rgba(245, 158, 11, 0.25);
            text-decoration: none;
            color: white;
        }

        /* Sidebar */
        .sidebar {
            width: 300px;
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            height: fit-content;
        }

        .empresa-info {
            margin-bottom: 1rem;
        }

        .empresa-logo {
            width: 100%;
            height: 150px;
            border-radius: 10px;
            object-fit: cover;
            margin-bottom: 1rem;
        }

        .empresa-nombre {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.75rem;
        }

        .empresa-ubicacion {
            color: #4b5563;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            font-size: 0.875rem;
        }
        
        .empresa-ubicacion i {
            margin-right: 8px;
            color: #0066ff;
        }

        /* Tags */
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 4px;
        }
        
        .tag {
            display: inline-flex;
            align-items: center;
            background-color: #ebf5ff;
            color: #0066ff;
            padding: 3px 8px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        /* Notificaciones */
        .notification-container {
            position: fixed;
            top: 20px;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            justify-content: center;
            pointer-events: none;
        }

        .notification {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 24px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            max-width: 400px;
            width: 100%;
            opacity: 0;
            transform: translateX(-100%);
            animation: slideInOut 4s ease-in-out forwards;
        }

        @keyframes slideInOut {
            0% { transform: translateX(-100%); opacity: 0; }
            20% { transform: translateX(0); opacity: 1; }
            80% { transform: translateX(0); opacity: 1; }
            100% { transform: translateX(100%); opacity: 0; }
        }

        .notification-icon {
            font-size: 1.5rem;
        }

        .notification-message {
            font-size: 1rem;
            font-weight: 500;
        }

        .notification.success {
            background-color: #dcfce7;
            color: #166534;
        }

        .notification.success .notification-icon {
            color: #22c55e;
        }

        .notification.error {
            background-color: #fee2e2;
            color: #991b1b;
        }

        .notification.error .notification-icon {
            color: #ef4444;
        }

        .notification.warning {
            background-color: #ffedd5;
            color: #c2410c;
        }

        .notification.warning .notification-icon {
            color: #f97316;
        }

        /* Estilos mobile */
        @media (max-width: 768px) {
            .container { padding: 1rem; }
            .header { flex-direction: column; align-items: flex-start; margin-bottom: 1.5rem; }
            .titulo-pagina { font-size: 1.5rem; margin-bottom: 1rem; }
            .btn-volver { margin-top: 0.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
            .contenido-principal { flex-direction: column; gap: 1.5rem; }
            .sidebar { width: 100%; order: -1; padding: 1.5rem; }
            .empresa-logo { height: 120px; }
            .empresa-nombre { font-size: 1.2rem; }
            .vacante-details { padding: 1.5rem; }
            .seccion-titulo { font-size: 1.1rem; margin-bottom: 1rem; }
            .detalles-grupo { grid-template-columns: 1fr; gap: 0.5rem; }
            .detalle-item { padding: 0.75rem; gap: 0.5rem; }
            .detalle-item:hover { transform: none; }
            .detalle-icono { width: 30px; height: 30px; font-size: 0.875rem; }
            .detalle-titulo { font-size: 0.7rem; }
            .detalle-contenido { font-size: 0.85rem; }
            .descripcion-seccion { padding: 1rem; }
            .descripcion-text { font-size: 0.9rem; }
            .postular-btn { justify-content: center; margin-top: 1.5rem; flex-direction: column; gap: 0.75rem; }
            .btn-postular, .btn-subir-cv { width: 100%; padding: 0.875rem 1.5rem; font-size: 0.95rem; justify-content: center; }
            .fixed-apply-btn { position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 0.75rem 1rem; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 100; }
            .fixed-apply-btn .btn-postular, .fixed-apply-btn .btn-subir-cv { border-radius: 0.375rem; margin: 0; margin-bottom: 0.5rem; }
            .tags-container { gap: 4px; }
            .tag { padding: 2px 6px; font-size: 0.65rem; }
            .notification { max-width: 90%; padding: 12px 16px; }
            .notification-icon { font-size: 1.2rem; }
            .notification-message { font-size: 0.9rem; }

            /* Ajustes para encabezados en móvil */
            .descripcion-text h1 { font-size: 1.5rem; }
            .descripcion-text h2 { font-size: 1.3rem; }
            .descripcion-text h3 { font-size: 1.2rem; }
            .descripcion-text h4, .descripcion-text h5, .descripcion-text h6 { font-size: 1rem; }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .container { padding: 1.5rem; }
            .detalles-grupo { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
            .sidebar { width: 250px; }
        }

        /* Cambia todas las referencias de .sidebar por .empresa-sidebar */
.empresa-sidebar {
    width: 300px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

/* También actualiza los media queries */
@media (min-width: 769px) and (max-width: 1024px) {
    .empresa-sidebar { 
        width: 250px; 
    }
}

@media (max-width: 768px) {
    .empresa-sidebar { 
        width: 100%; 
        order: -1; 
        padding: 1.5rem; 
    }
}

/* Sidebar de la empresa - ACTUALIZADO CON LOGO CIRCULAR */
.empresa-sidebar {
    width: 300px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.empresa-info {
    margin-bottom: 1rem;
    text-align: center; /* Centrar todo el contenido */
}

/* Logo circular con sombra y efecto hover */
.empresa-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Hace el logo completamente circular */
    background-color: white; /* Fondo blanco para que cualquier logo se vea bien */
    margin: 0 auto 1.5rem auto; /* Centrar horizontalmente y agregar más margen inferior */
    display: flex; /* Usar flexbox para centrar la imagen */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Evitar que la imagen se salga del contenedor */
    border: 4px solid #f1f5f9; /* Borde sutil */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Sombra más pronunciada */
    transition: all 0.3s ease;
}

/* Imagen dentro del logo circular */
.empresa-logo img {
    max-width: 80%; /* Mismo comportamiento que vacantes.php */
    max-height: 80%; /* Mismo comportamiento que vacantes.php */
    object-fit: contain; /* Mantener toda la imagen visible sin cortar */
    margin: auto;
}

/* Efecto hover para el logo */
.empresa-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #0066ff;
}

/* Logo placeholder circular cuando no hay imagen */
.empresa-logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 4px solid #f1f5f9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.empresa-logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ebf5ff 0%, #dbeafe 100%);
}

.empresa-logo-placeholder i {
    font-size: 2.5rem;
    color: #64748b;
}

/* Nombre de la empresa más destacado */
.empresa-nombre {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

/* Ubicación mejorada */
.empresa-ubicacion {
    color: #64748b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 8px;
}

.empresa-ubicacion i {
    color: #0066ff;
    font-size: 1rem;
}

/* Línea divisoria sutil */
.empresa-info::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 1.5rem auto 0 auto;
}

/* Estilos mobile mejorados */
@media (max-width: 768px) {
    .empresa-sidebar {
        width: 100%;
        order: -1;
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .empresa-logo, .empresa-logo-placeholder {
        width: 100px;
        height: 100px;
        margin-bottom: 1.25rem;
    }
    
    .empresa-logo-placeholder i {
        font-size: 2rem;
    }
    
    .empresa-nombre {
        font-size: 1.25rem;
    }
    
    .empresa-ubicacion {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .empresa-sidebar {
        width: 250px;
        padding: 1.75rem;
    }
    
    .empresa-logo, .empresa-logo-placeholder {
        width: 110px;
        height: 110px;
    }
    
    .empresa-nombre {
        font-size: 1.3rem;
    }
}