/* ==========================================================================
   TEST VOCACIONAL CSS - Usando la paleta de colores de Cachimbo
   ========================================================================== */

/* ===== SECCIÓN DEL TEST ===== */
#test-vocacional-section {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: var(--bg-main);
}

#test-vocacional-section .container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== INTRO DEL TEST ===== */
.test-intro {
    text-align: center;
    padding: 3rem 1rem;
}

.test-hero {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
}

.test-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.test-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Features Grid */
.test-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed);
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
}

.feature-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.test-disclaimer {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FORMULARIO DEL TEST ===== */
.test-form {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

/* Progress Bar - Mejorado */
.test-progress {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-surface);
    border-radius: 12px;
}

.progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
    box-shadow: 0 0 10px var(--primary-accent);
}

.progress-text {
    text-align: center;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.progress-text span {
    color: var(--primary-accent);
}

/* Pregunta Card - Mejorado */
.pregunta-card {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 0;
    margin-bottom: 1.5rem;
}

.pregunta-numero {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pregunta-texto {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

/* Opciones - Diseño clase mundial */
.opciones-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.opcion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-color-default);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.opcion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-accent);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.opcion-item:hover {
    border-color: var(--primary-accent);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.opcion-item:hover::before {
    transform: scaleY(1);
}

.opcion-item.selected {
    border-color: var(--primary-accent);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.opcion-item.selected::before {
    transform: scaleY(1);
}

.opcion-item input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.opcion-item label {
    flex: 1;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

.opcion-item input[type="radio"]:checked ~ label {
    color: var(--primary-accent);
    font-weight: 600;
}

/* Textarea */
.pregunta-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--bg-surface);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-family-base);
    font-size: 1rem;
    resize: vertical;
    transition: border-color var(--transition-speed);
}

.pregunta-textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
}

.pregunta-textarea::placeholder {
    color: var(--text-secondary);
}

.pregunta-hint {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Navegación */
.test-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== LOADING ===== */
.test-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    border: 4px solid var(--bg-surface);
    border-top: 4px solid var(--primary-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.test-loading h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.test-loading p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.loading-step.active {
    opacity: 1;
}

.step-icon {
    font-size: 1.5rem;
}

/* ===== RESULTADOS ===== */
.test-results {
    padding: 0;
    background: var(--bg-main);
}

/* Section Titles */
.section-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 3rem 0 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== HERO SECTION ===== */
.results-hero {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    padding: 3rem 1.5rem;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-arquetipo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-carrera {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.match-circle-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.match-percentage-large {
    font-size: 2.5rem;
    font-weight: 700;
}

.match-stars {
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.hero-reason {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
}

.hero-reason h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hero-reason p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== USER PROFILE SECTION ===== */
.user-profile-section {
    padding: 2rem 1.5rem;
}

.user-profile-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.profile-header {
    margin-bottom: 2rem;
}

.arquetipo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.arquetipo-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.profile-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--primary-accent);
}

/* Carreras Recomendadas */
.carreras-recomendadas {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.carreras-grid {
    display: grid;
    gap: 2rem;
}

/* Carrera Card */
.carrera-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.carrera-card:hover {
    transform: translateY(-4px);
}

.carrera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.carrera-ranking {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.carrera-match {
    text-align: center;
}

.match-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.match-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.match-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carrera-body {
    padding-top: 1rem;
    border-top: 1px solid var(--bg-surface);
}

.carrera-nombre {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.carrera-arquetipo {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.carrera-razon {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Superpoderes */
.carrera-superpoderes {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
}

.carrera-superpoderes h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.superpoderes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.superpoder-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.superpoder-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.superpoder-bar {
    height: 8px;
    background: var(--bg-card);
    border-radius: 999px;
    overflow: hidden;
}

.superpoder-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: width 0.5s ease;
}

/* Stats */
.carrera-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mensaje Motivacional */
.mensaje-motivacional {
    background: var(--bg-card);
    border-left: 4px solid var(--secondary-accent);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.mensaje-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.mensaje-motivacional p {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Acciones */
.results-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ===== PANORAMA SECTION ===== */
.panorama-section {
    padding: 2rem 1.5rem;
    background: var(--bg-surface);
}

.panorama-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.panorama-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.panorama-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Sueldo Timeline */
.sueldo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.sueldo-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sueldo-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-accent);
}

/* Demanda Content */
.demanda-bar {
    height: 12px;
    background: var(--bg-surface);
    border-radius: 999px;
    overflow: hidden;
    margin: 1rem 0;
}

.demanda-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: width 1s ease;
}

.demanda-nivel {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-accent);
    margin-bottom: 0.5rem;
}

.demanda-proyeccion {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.sectores-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sector-item {
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    color: var(--text-primary);
}

/* Dificultad Content */
.dificultad-item {
    padding: 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.dificultad-uni {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dificultad-stars {
    color: var(--warning-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.dificultad-ratio {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== UNIVERSIDADES SECTION ===== */
.universidades-section {
    padding: 2rem 1.5rem;
}

.universidades-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.universidad-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: all var(--transition-speed);
}

.universidad-card.destacada {
    border-color: var(--secondary-accent);
}

.universidad-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-surface);
}

.universidad-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.universidad-nombre {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.universidad-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-surface);
    border-radius: 8px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-value {
    font-weight: 700;
    color: var(--text-primary);
}

.info-value.gratis {
    color: var(--secondary-accent);
}

.info-value.alto {
    color: var(--danger-color);
}

.universidad-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.universidad-recomendacion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-left: 4px solid var(--secondary-accent);
    border-radius: var(--border-radius);
}

.universidad-recomendacion h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.universidad-recomendacion p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CAMPO LABORAL SECTION ===== */
.campo-laboral-section {
    padding: 2rem 1.5rem;
    background: var(--bg-surface);
}

.campo-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.campo-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.campo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.puestos-list,
.empresas-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.puesto-item,
.empresa-item {
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.empresa-sector {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.modalidades-trabajo {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.modalidades-trabajo h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modalidades-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ===== OTRAS CARRERAS SECTION ===== */
.otras-carreras-section {
    padding: 2rem 1.5rem;
}

.otras-carreras-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.otra-carrera-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--bg-surface);
    transition: all var(--transition-speed);
}

.otra-carrera-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-4px);
}

.otra-carrera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.otra-carrera-nombre {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.otra-carrera-match {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.otra-carrera-descripcion {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.otra-carrera-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.otra-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.otra-stat-label {
    color: var(--text-secondary);
}

.otra-stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    padding: 4rem 1.5rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    background: white;
    color: var(--primary-accent);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cta-social {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== NUEVOS ESTILOS PARA TIPO DE CARRERA ===== */
.pregunta-numero {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opcion-item.selected {
    border-color: var(--primary-accent);
    background: rgba(var(--primary-accent-rgb), 0.1);
}

.hero-tipo {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.hero-tipo.tecnico {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.hero-tipo.universitario {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.tipo-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.tipo-badge.tecnico {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.tipo-badge.universitario {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.otra-carrera-card.tecnico {
    border-left: 4px solid #ff9800;
}

.otra-carrera-card.universitario {
    border-left: 4px solid #2196f3;
}

.universidad-card.instituto {
    border-color: #ff9800;
}

.info-value.tecnico {
    color: #ff9800;
    font-weight: 600;
}

/* ===== RESPONSIVE MEJORADO PARA MÓVIL ===== */
@media (min-width: 768px) {
    .panorama-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .campo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .universidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .otras-carreras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-arquetipo {
        font-size: 2.5rem;
    }
    
    .hero-carrera {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .universidades-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .otras-carreras-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== MÓVIL FIRST - OPTIMIZADO PARA TIKTOK ===== */
@media (max-width: 768px) {
    #test-vocacional-section {
        padding: 1rem 0.5rem;
    }
    
    .test-hero {
        padding: 2rem 1rem;
    }
    
    .test-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .test-subtitle {
        font-size: 1rem;
    }
    
    .test-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-item span:last-child {
        font-size: 0.8rem;
    }
    
    .test-form {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .pregunta-card {
        padding: 1.25rem;
    }
    
    .pregunta-texto {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .opcion-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .opcion-item label {
        font-size: 0.95rem;
    }
    
    .test-navigation {
        flex-direction: column;
        gap: 0.75rem;
        position: sticky;
        bottom: 0;
        background: var(--bg-card);
        padding: 1rem;
        margin: 0 -1rem -1rem;
        border-radius: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .test-navigation .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Loading móvil */
    .test-loading {
        padding: 2rem 1rem;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .test-loading h3 {
        font-size: 1.25rem;
    }
    
    /* Resultados móvil */
    .profile-details {
        grid-template-columns: 1fr;
    }
    
    .user-profile-card {
        padding: 1.5rem;
    }
    
    .arquetipo-title {
        font-size: 1.25rem;
    }
    
    .results-actions {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .results-actions .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .section-title-main {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    
    .hero-arquetipo {
        font-size: 1.5rem;
    }
    
    .hero-carrera {
        font-size: 1.1rem;
    }
    
    .match-circle-large {
        width: 100px;
        height: 100px;
    }
    
    .match-percentage-large {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.25rem;
    }
    
    .btn-cta-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Cards móvil */
    .carrera-card,
    .panorama-card,
    .universidad-card,
    .campo-card,
    .otra-carrera-card {
        padding: 1.25rem;
    }
    
    .carrera-nombre {
        font-size: 1.25rem;
    }
    
    .match-circle {
        width: 70px;
        height: 70px;
    }
    
    .match-percentage {
        font-size: 1.25rem;
    }
    
    .otra-carrera-nombre {
        font-size: 1.1rem;
    }
    
    .otra-carrera-match {
        font-size: 1.25rem;
    }
    
    /* Textarea móvil */
    .pregunta-textarea {
        min-height: 100px;
        font-size: 1rem;
    }
}

/* ===== MÓVIL PEQUEÑO (iPhone SE, etc) ===== */
@media (max-width: 375px) {
    .test-title {
        font-size: 1.5rem;
    }
    
    .test-features {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
    }
    
    .pregunta-texto {
        font-size: 1rem;
    }
    
    .opcion-item {
        padding: 0.75rem;
    }
    
    .opcion-item label {
        font-size: 0.9rem;
    }
}

/* ===== SUELDO FUENTE Y DESTACADO ===== */
.sueldo-fuente {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.sueldo-item.destacado {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.sueldo-item.destacado .sueldo-amount {
    color: #ffd700;
    font-weight: 700;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pregunta-card,
.user-profile-card,
.panorama-card,
.universidad-card,
.campo-card,
.otra-carrera-card {
    animation: fadeIn 0.6s ease;
}

.results-hero {
    animation: slideInUp 0.8s ease;
}

/* ===== EMPRESAS BOLSA DE TRABAJO ===== */
.sector-header {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.empresa-item.bolsa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.empresa-item.bolsa:last-child {
    border-bottom: none;
}

.empresa-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.empresa-nombre {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.empresa-rubro {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.empresa-rating {
    font-size: 0.7rem;
    letter-spacing: -1px;
}

.no-data {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==========================================================================
   ESTILOS CYBERPUNK PARA TEST VOCACIONAL
   ========================================================================== */

/* Sección principal con grid cyber */
#test-vocacional-section {
    position: relative;
}

#test-vocacional-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

/* Hero del test cyber */
.test-hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.test-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
}

/* Feature items cyber */
.feature-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
    transform: translateY(-6px);
}

.feature-icon {
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

/* Question cards cyber */
.question-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

/* Options cyber */
.option-btn {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    transition: all 0.3s ease;
}

.option-btn:hover {
    border-color: rgba(6, 182, 212, 0.5) !important;
    background: rgba(6, 182, 212, 0.1) !important;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.option-btn.selected {
    border-color: rgba(139, 92, 246, 0.6) !important;
    background: rgba(139, 92, 246, 0.15) !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

/* Progress bar cyber */
.test-progress-bar {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.test-progress-fill {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4) !important;
    position: relative;
}

.test-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Results cards cyber */
.results-hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    position: relative;
}

.results-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #ec4899);
}

/* Career cards cyber */
.carrera-card,
.universidad-card,
.campo-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    transition: all 0.3s ease;
}

.carrera-card:hover,
.universidad-card:hover,
.campo-card:hover {
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

/* Salary badge cyber */
.salary-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15)) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}
