/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
    --aa-navy: #1B2538;
    --aa-teal: #2CA6A4;
    --aa-teal-light: #e0f2f1;
    --aa-bg: #f8f9fa;
    --aa-card-bg: #ffffff;
    --aa-text: #344767;
    --aa-text-muted: #8392ab;
    --primary-turquoise: #5DBCD2;
    --primary-navy: #1E2847;
    --light-turquoise: #E8F5F7;
    --hover-turquoise: #4A9AA7;
    --success-green: #28a745;
    --warning-amber: #ffc107;

    /* Nuevas variables para wizard y solicitudes */
    --primary-gradient: linear-gradient(135deg, #5DBCD2 0%, #1E2847 100%);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #5DBCD2;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
}

/* ============================================
   ESTILOS BASE
   ============================================ */
body {
    background-color: var(--aa-bg);
    color: var(--aa-text);
    font-family: 'Roboto', sans-serif;
}

/* ============================================
   KPI CARDS
   ============================================ */
.kpi-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: none;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--aa-navy);
    margin-bottom: 0;
}

.kpi-label {
    font-size: 0.85rem;
    color: var(--aa-text-muted);
    font-weight: 500;
}

/* Variaciones de KPI */
.kpi-primary .kpi-icon {
    background: linear-gradient(135deg, var(--aa-navy), #2c3e50);
    color: white;
}

.kpi-success .kpi-icon {
    background: linear-gradient(135deg, var(--aa-teal), #4db6ac);
    color: white;
}

.kpi-warning .kpi-icon {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: white;
}

.kpi-ok .kpi-icon {
    background: linear-gradient(135deg, #1cb505, #2f7809);
    color: white;
}

.kpi-danger .kpi-icon {
    background: linear-gradient(135deg, #b3051e, #780927);
    color: white;
}

/* ============================================
   CONTENEDORES DE GRÁFICAS
   ============================================ */
.chart-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.chart-container {
    position: relative;
    min-height: 250px;
}

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

/* ============================================
   LISTA DE ANIVERSARIOS
   ============================================ */
.anniversary-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.anniversary-item:last-child {
    border-bottom: none;
}

.anniversary-item:hover {
    background-color: #fafafa;
    border-radius: 8px;
}

.anni-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--aa-teal-light);
    color: var(--aa-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1rem;
}

.anni-info h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.anni-info small {
    color: var(--aa-text-muted);
    font-size: 0.8rem;
}

.anni-badge {
    background-color: var(--aa-navy);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

/* ============================================
   LISTA SOLICITUDES COMPACTA
   ============================================ */
.request-compact-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.req-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.bg-aprobado {
    background-color: var(--aa-teal);
    box-shadow: 0 0 0 2px rgba(44, 166, 164, 0.2);
}

.bg-pendiente {
    background-color: #ffc107;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.bg-rechazado {
    background-color: #dc3545;
}

/* ============================================
   MODAL PERSONALIZADO
   ============================================ */
.modal-header-corporate {
    background-color: var(--aa-navy);
    color: white;
    border-radius: 1rem 1rem 0 0;
}

.modal-content {
    border-radius: 1rem;
    border: none;
}

.btn-close-white {
    filter: invert(1);
}

/* ============================================
   ESTADOS Y BADGES
   ============================================ */
.st-creado {
    background-color: #e9ecef;
    color: #495057;
}

.st-enviado {
    background-color: rgba(44, 166, 164, 0.15);
    color: var(--aa-teal);
}

.st-aprobado {
    background-color: #28a745 !important;
    color: white !important;
}

.st-rechazado {
    background-color: #dc3545 !important;
    color: white !important;
}

.st-info {
    background-color: #cff4fc;
    color: #055160;
}

.st-warning {
    background-color: #f6c589;
    color: #8c8282;
}

.st-pendiente {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.st-nuevo {
    background-color: #17a2b8 !important;
    color: white !important;
}

/* Avatar en tabla */
.table-avatar {
    width: 36px;
    height: 36px;
    background-color: rgba(27, 37, 56, 0.1);
    color: var(--aa-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 10px;
}

/* Badges de status */
.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-borrador {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-revision {
    background-color: #cff4fc;
    color: #055160;
}

.status-aprobado {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-rechazado {
    background-color: #f8d7da;
    color: #842029;
}

.status-cancelado {
    background-color: #f5c6cb;
    color: #721c24;
    text-decoration: line-through;
}

/* Badges especiales */
.required-badge {
    background-color: #dc3545;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.edit-mode-badge {
    background-color: #17a2b8;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.locked-badge {
    background-color: #6c757d;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: help;
}

/* ============================================
   CARDS CORPORATIVOS
   ============================================ */
.corporate-card {
    border: none;
    border-top: 4px solid var(--aa-teal);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.card-header-actions {
    background-color: white;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-card-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2C3E5F 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px 8px 0 0;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-corporate-primary {
    background-color: var(--aa-navy);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-corporate-primary:hover {
    background-color: #141b29;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-corporate-info {
    background-color: #4a90e2;
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-corporate-info:hover {
    background-color: #357abd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-wizard {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-next {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-next:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.4);
}

.btn-prev {
    background: var(--primary-navy);
    border: none;
    color: white;
}

.btn-prev:hover {
    background: #2a3a5f;
    transform: translateX(-3px);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--hover-turquoise) 100%);
    border: none;
    color: white;
    padding: 0.875rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(93, 188, 210, 0.4);
    background: linear-gradient(135deg, var(--hover-turquoise) 0%, var(--primary-turquoise) 100%);
}

.btn-cancel-custom {
    background: white;
    border: 2px solid #6c757d;
    color: #6c757d;
    padding: 0.875rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel-custom:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-cancel-custom:active {
    transform: translateY(0);
}

.clear-selection-btn {
    background: transparent;
    border: 2px solid var(--primary-turquoise);
    color: var(--primary-turquoise);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.clear-selection-btn:hover {
    background: var(--primary-turquoise);
    color: white;
}

/* ============================================
   TABLA CORPORATIVA
   ============================================ */
.table-corporate thead {
    background-color: var(--aa-navy);
    color: white;
}

.table-corporate thead th {
    font-weight: 600;
    border: none;
    padding: 10px 8px;
    white-space: nowrap;
    font-size: 0.85rem;
}

.table-corporate tbody td {
    vertical-align: middle;
    padding: 6px 8px;
    color: #444;
    font-size: 0.82rem;
}

/* ============================================
   ACCIONES EN TABLA
   ============================================ */
.action-btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    margin: 0 2px;
    color: #666;
    background: #f5f5f5;
}

.action-btn:hover {
    background-color: var(--aa-teal);
    color: white;
}

.action-btn.delete:hover {
    background-color: #dc3545;
}

.action-btn.send:hover {
    background-color: #f8b308;
}

.action-btn.pause:hover {
    background-color: #f3d8b3;
}

.action-btn.training:hover {
    background-color: #f0974d;
}

.action-btn.induction:hover {
    background-color: #8a06a7;
}

.action-btn.hired:hover {
    background-color: #089f65;
}

/* ============================================
   BÚSQUEDA Y AUTOCOMPLETE
   ============================================ */
.search-section {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 188, 210, 0.1) 100%);
    border: 2px solid var(--primary-turquoise);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1.1rem;
    border: 3px solid var(--primary-turquoise);
    border-radius: 12px;
    transition: all 0.3s;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 8px 24px rgba(93, 188, 210, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-turquoise);
    font-size: 1.4rem;
    pointer-events: none;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-turquoise);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--light-turquoise);
    padding-left: 1.5rem;
}

.autocomplete-item-number {
    background: var(--primary-navy);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.autocomplete-item-info {
    flex-grow: 1;
}

.autocomplete-item-name {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.autocomplete-item-project {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.autocomplete-loading {
    padding: 1.5rem;
    text-align: center;
    color: var(--primary-turquoise);
}

.autocomplete-empty {
    padding: 1.5rem;
    text-align: center;
    color: #6c757d;
}

/* ============================================
   TARJETAS DE INFORMACIÓN
   ============================================ */
.employee-info-card {
    border-left: 4px solid var(--primary-turquoise);
    transition: transform 0.2s, box-shadow 0.2s;
}

.employee-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.15);
}

/* Estado bloqueado */
.employee-info-card.locked {
    border-left-color: #6c757d !important;
    opacity: 0.85;
    position: relative;
}

.employee-info-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(108, 117, 125, 0.03) 10px,
            rgba(108, 117, 125, 0.03) 20px);
    pointer-events: none;
    border-radius: inherit;
}

.employee-info-card.locked .card-body {
    position: relative;
    z-index: 1;
}

.employee-info-card.locked:hover {
    transform: none;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-circle.turquoise {
    background-color: var(--light-turquoise);
    color: var(--primary-turquoise);
}

.icon-circle.navy {
    background-color: rgba(30, 40, 71, 0.1);
    color: var(--primary-navy);
}

.icon-circle.gold {
    background-color: #fff8e1;
    color: var(--warning-amber);
}

.icon-circle.locked {
    background-color: #e9ecef;
    color: #6c757d;
}

/* ============================================
   WIZARD DE FORMULARIOS
   ============================================ */
.form-wizard {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid #e9ecef;
}

.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: -1;
}

.wizard-step:last-child::after {
    display: none;
}

.step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.wizard-step.active .step-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.4);
}

.wizard-step.completed .step-icon {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    margin-top: 0.5rem;
}

.wizard-step.active .step-label {
    color: var(--primary-turquoise);
    font-weight: 600;
}

.wizard-content {
    min-height: 400px;
    padding: 2rem 1.5rem;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

/* ============================================
   BARRA DE PROGRESO
   ============================================ */
.progress-container {
    margin-bottom: 1.5rem;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: #e9ecef;
}

.progress-bar {
    background: var(--primary-gradient);
    transition: width 0.4s ease;
    border-radius: 10px;
}

/* ============================================
   SECCIONES DE FORMULARIO
   ============================================ */
.form-section {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.form-section.active {
    display: block;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-turquoise);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    font-size: 1.5rem;
    color: var(--primary-turquoise);
}

.concept-row {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.concept-row:hover {
    border-color: var(--primary-turquoise);
    box-shadow: 0 4px 12px rgba(93, 175, 188, 0.1);
    transform: translateX(4px);
}

.concept-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 175, 188, 0.15) 100%);
    color: var(--primary-turquoise);
    flex-shrink: 0;
}

.concept-title {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================
   CAMPOS DE BONOS
   ============================================ */
.bonus-field-wrapper {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.bonus-field-wrapper:hover {
    border-color: var(--primary-turquoise);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.1);
}

.bonus-field-wrapper.focused {
    border-color: var(--primary-turquoise);
    box-shadow: 0 0 0 4px rgba(93, 188, 210, 0.1);
}

.field-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.field-icon-wrapper.bonus-name {
    background: linear-gradient(135deg, #fff8e1 0%, rgba(255, 193, 7, 0.15) 100%);
    color: var(--warning-amber);
}

.field-icon-wrapper.bonus-reason {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 188, 210, 0.15) 100%);
    color: var(--primary-turquoise);
}

.field-icon-wrapper.bonus-amount {
    background: linear-gradient(135deg, #e8f5e9 0%, rgba(40, 167, 69, 0.15) 100%);
    color: var(--success-green);
}

.field-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ============================================
   DETALLES DE BONOS
   ============================================ */
.bonus-detail-row {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.bonus-detail-row:hover {
    border-color: var(--primary-turquoise);
    box-shadow: 0 4px 12px rgba(93, 175, 188, 0.1);
    transform: translateX(4px);
}

.detail-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.detail-icon-wrapper.bonus-name {
    background: linear-gradient(135deg, #fff8e1 0%, rgba(255, 193, 7, 0.15) 100%);
    color: var(--warning-amber);
}

.detail-icon-wrapper.bonus-description {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 175, 188, 0.15) 100%);
    color: var(--primary-turquoise);
}

.detail-icon-wrapper.bonus-amount {
    background: linear-gradient(135deg, #e8f5e9 0%, rgba(40, 167, 69, 0.15) 100%);
    color: var(--success-green);
}

.detail-icon-wrapper.bonus-comments {
    background: linear-gradient(135deg, #f0f0f0 0%, rgba(108, 117, 125, 0.1) 100%);
    color: #6c757d;
}

.detail-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-content {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.6;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-turquoise);
}

.detail-content.empty {
    color: #adb5bd;
    font-style: italic;
}

.amount-display {
    background: linear-gradient(135deg, #e8f5e9 0%, rgba(40, 167, 69, 0.1) 100%);
    border: 2px solid var(--success-green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.amount-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-green);
    margin: 0;
}

.amount-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.info-badge {
    background-color: var(--light-turquoise);
    color: var(--primary-turquoise);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ============================================
   INFO HIGHLIGHT
   ============================================ */
.info-highlight {
    background: linear-gradient(135deg, #fff8e1 0%, rgba(255, 193, 7, 0.1) 100%);
    border-left: 4px solid var(--warning-amber);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.info-highlight-title {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-highlight-text {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   METADATA Y CONSIDERACIONES
   ============================================ */
.metadata-section {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 175, 188, 0.08) 100%);
    border: 2px dashed var(--primary-turquoise);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(93, 175, 188, 0.2);
}

.metadata-item:last-child {
    border-bottom: none;
}

.metadata-label {
    font-weight: 600;
    color: var(--primary-navy);
    min-width: 150px;
}

.metadata-value {
    color: #495057;
    flex-grow: 1;
}

.considerations-area {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 175, 188, 0.08) 100%);
    border: 2px dashed var(--primary-turquoise);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 1.5rem;
}

/* ============================================
   CONTROLES DE FORMULARIO
   ============================================ */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-turquoise);
    box-shadow: 0 0 0 0.2rem rgba(93, 188, 210, 0.15);
    outline: none;
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.large-input {
    font-size: 1.15rem;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.comment-input {
    background-color: var(--light-turquoise);
    border: 2px solid rgba(93, 175, 188, 0.3);
}

.comment-input:focus {
    background-color: white;
    border-color: var(--primary-turquoise);
}

.input-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    display: block;
}

.comment-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-badge {
    background-color: var(--primary-turquoise);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-turquoise);
    font-size: 1.2rem;
    pointer-events: none;
}

.input-wrapper {
    position: relative;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Contador de caracteres */
.char-counter {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: right;
    margin-top: 0.5rem;
}

.char-counter.warning {
    color: var(--warning-amber);
    font-weight: 600;
}

.char-counter.danger {
    color: #dc3545;
    font-weight: 600;
}

/* ============================================
   CHECKBOXES Y OPCIONES
   ============================================ */
.competency-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.custom-checkbox {
    position: relative;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-checkbox:hover {
    border-color: var(--primary-turquoise);
    background: rgba(93, 188, 210, 0.05);
}

.custom-checkbox input:checked~label {
    color: var(--primary-turquoise);
    font-weight: 600;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-turquoise);
}

.form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

/* ============================================
   SELECTOR DE PRIORIDAD
   ============================================ */
.priority-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.priority-option {
    flex: 1;
    min-width: 150px;
}

.priority-radio {
    display: none;
}

.priority-label {
    display: block;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.priority-radio:checked+.priority-label {
    transform: scale(1.05);
}

.priority-radio[value="ALTA"]:checked+.priority-label {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

.priority-radio[value="MEDIA"]:checked+.priority-label {
    background: var(--warning-color);
    color: #000;
    border-color: var(--warning-color);
}

.priority-radio[value="BAJA"]:checked+.priority-label {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

/* ============================================
   RESUMEN DE SOLICITUD
   ============================================ */
.summary-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.summary-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: var(--primary-turquoise);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.15);
}

.summary-main {
    border-left: 4px solid var(--primary-turquoise);
}

.summary-card-header {
    background: linear-gradient(135deg, rgba(93, 188, 210, 0.1) 0%, rgba(30, 40, 71, 0.05) 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.summary-card-header i {
    font-size: 1.5rem;
    color: var(--primary-turquoise);
}

.summary-card-header h6 {
    margin: 0;
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1rem;
}

.summary-card-body {
    padding: 1.25rem;
}

.summary-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.summary-item-full {
    width: 100%;
}

.summary-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.4;
}

.summary-highlight {
    color: var(--primary-turquoise);
    font-size: 1.5rem;
    font-weight: 700;
}

.summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-competency,
.badge-tool {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(93, 188, 210, 0.15) 0%, rgba(30, 40, 71, 0.1) 100%);
    border: 1px solid var(--primary-turquoise);
    color: var(--primary-navy);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.badge-competency:hover,
.badge-tool:hover {
    background: var(--primary-turquoise);
    color: white;
    transform: translateY(-2px);
}

.badge-priority {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-priority-high {
    background: #dc3545;
    color: white;
}

.badge-priority-medium {
    background: #ffc107;
    color: #000;
}

.badge-priority-low {
    background: #28a745;
    color: white;
}

/* ============================================
   UTILIDADES
   ============================================ */
.help-icon {
    color: var(--primary-turquoise);
    cursor: help;
    margin-left: 0.25rem;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, var(--primary-turquoise), transparent);
    margin: 2.5rem 0;
}

.breadcrumb-item a {
    color: var(--primary-turquoise);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-navy);
}

/* ============================================
   VISIBILIDAD DE SECCIONES
   ============================================ */
#employeeInfoSection,
#salaryFormSection,
#bonusFormSection {
    display: none;
}

#employeeInfoSection.show,
#salaryFormSection.show,
#bonusFormSection.show {
    display: block;
}

/* ============================================
   ANIMACIONES
   ============================================ */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 1280px) and (max-width: 1920px) {
    .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

@media (max-width: 1366px) {
    .bonus-field-wrapper {
        padding: 1.75rem;
    }

    .form-control {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .wizard-step::after {
        display: none;
    }

    .competency-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .summary-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .summary-highlight {
        font-size: 1.2rem;
    }
}

/* Contenedor principal del breadcrumb */
.breadcrumb-corporate {
    background: linear-gradient(135deg, rgba(93, 188, 210, 0.08) 0%, rgba(30, 40, 71, 0.05) 100%);
    border-left: 4px solid var(--primary-turquoise);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Título de la sección (ej: "Recursos Humanos") */
.breadcrumb-title {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-right: 1.5rem;
    border-right: 2px solid rgba(93, 188, 210, 0.3);
    flex-shrink: 0;
}

.breadcrumb-title i {
    color: var(--primary-turquoise);
    font-size: 1.2rem;
}

/* Lista de navegación */
.breadcrumb-elegant {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Elementos individuales del breadcrumb */
.breadcrumb-elegant-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

/* Enlaces del breadcrumb */
.breadcrumb-elegant-item a {
    color: var(--primary-turquoise);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-elegant-item a:hover {
    background: var(--primary-turquoise);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(93, 188, 210, 0.3);
}

/* Elemento activo (página actual) */
.breadcrumb-elegant-item.active {
    color: var(--primary-navy);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
}

.breadcrumb-elegant-item.active i {
    color: var(--primary-turquoise);
}

/* Separador entre elementos */
.breadcrumb-elegant-item+.breadcrumb-elegant-item::before {
    content: '›';
    color: var(--primary-turquoise);
    font-size: 1.3rem;
    padding: 0 0.5rem;
    font-weight: 600;
}

/* Responsive: en pantallas pequeñas */
@media (max-width: 768px) {
    .breadcrumb-corporate {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .breadcrumb-title {
        border-right: none;
        border-bottom: 2px solid rgba(93, 188, 210, 0.3);
        padding-right: 0;
        padding-bottom: 0.75rem;
        width: 100%;
    }
}

/* ============================================
   MODAL - SECCIONES DE FORMULARIO
   ============================================ */

.modal-form-section {
    background: linear-gradient(135deg, var(--light-turquoise) 0%, rgba(93, 188, 210, 0.05) 100%);
    border: 2px solid rgba(93, 188, 210, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-section-title {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-turquoise);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section-title i {
    color: var(--primary-turquoise);
    font-size: 1.2rem;
}

/* ============================================
   AVATARES EN TABLA
   ============================================ */

.table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--hover-turquoise) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(93, 188, 210, 0.3);
}

/* ============================================
   BOTONES DE FLUJO DE CONTRATACIÓN
   ============================================ */

/* Botón Ver Detalle */
.action-btn.view {
    background-color: #e3f2fd;
    color: #1976d2;
}

.action-btn.view:hover {
    background-color: #1976d2;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

/* Botón En Capacitación */
.action-btn[style*="17a2b8"] {
    background-color: #e0f7fa;
    color: #17a2b8;
    transition: all 0.3s ease;
}

.action-btn[style*="17a2b8"]:hover {
    background-color: #17a2b8;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

/* Botón En Inducción */
.action-btn[style*="6610f2"] {
    background-color: #f3e5f5;
    color: #6610f2;
    transition: all 0.3s ease;
}

.action-btn[style*="6610f2"]:hover {
    background-color: #6610f2;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 16, 242, 0.4);
}

/* Botón Contratado */
.action-btn[style*="28a745"] {
    background-color: #e8f5e9;
    color: #28a745;
    transition: all 0.3s ease;
}

.action-btn[style*="28a745"]:hover {
    background-color: #28a745;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    animation: pulse-success 1.5s infinite;
}

/* Animación de pulso para botón Contratado */
@keyframes pulse-success {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }
}

/* Iconos dentro de los botones */
.action-btn i {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.action-btn:hover i {
    transform: scale(1.15);
}

/* Responsividad para tablets y móviles */
@media (max-width: 768px) {
    .action-btn {
        width: 32px;
        height: 32px;
    }

    .action-btn i {
        font-size: 1rem;
    }
}

/* ============================================
   UTILITY CLASSES FOR PROMOTION FORMS
   ============================================ */

/* Text color utilities */
.text-navy {
    color: var(--aa-navy) !important;
}

.text-teal {
    color: var(--aa-teal) !important;
}

/* Form input utilities */
.date-input-compact {
    max-width: 180px;
}

/* Suggestion dropdown utilities */
.suggestions-z-index {
    z-index: 1000;
}

.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestions-dropdown-compact {
    max-height: 250px;
}

/* Suggestion item styling (already exists but ensuring consistency) */
.suggestion-item {
    cursor: pointer;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background: white;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
    color: var(--aa-teal);
}

/* Section title for forms */
.section-title {
    color: var(--aa-navy);
    font-weight: 600;
    border-left: 5px solid var(--aa-teal);
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

/* Card header corporate */
.card-header-corporate {
    background-color: var(--aa-navy);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0 !important;
    font-weight: 500;
}

/* Button outline corporate for radio buttons */
.btn-outline-corporate {
    color: var(--aa-navy);
    border-color: var(--aa-navy);
}

.btn-outline-corporate:hover {
    background-color: rgba(27, 37, 56, 0.05);
}

.btn-check:checked+.btn-outline-corporate {
    background-color: var(--aa-teal);
    color: white;
    border-color: var(--aa-teal);
}

/* Form switches with corporate colors */
.form-check-input:checked {
    background-color: var(--aa-teal);
    border-color: var(--aa-teal);
}

/* Primary corporate button for forms */
.btn-primary-corporate {
    background-color: var(--aa-navy);
    border-color: var(--aa-navy);
    color: white;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary-corporate:hover {
    background-color: #141b29;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Hidden section utility */
.hidden-section {
    display: none;
}

/* Form focus states with corporate colors */
.form-control:focus,
.form-select:focus {
    border-color: var(--aa-teal);
    box-shadow: 0 0 0 0.25rem rgba(44, 166, 164, 0.15);
}