/* ===================================
   DASHBOARD TALENTO - VARIABLES
   =================================== */
:root {
    --primary: #0A0A0A;
    --accent: #D4AF37;
    --background: #FAFAFA;
    --background-light: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
}

/* ===================================
   LAYOUT PRINCIPAL
   =================================== */
.talento-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--background);
}

.talento-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 240px;
}

.talento-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* ===================================
   SIDEBAR
   =================================== */
.talento-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.modulo-t1 {
    flex: 1;
    padding: 1.5rem 1rem;
}

.bloque-t11 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.icono-t111 {
    width: 32px;
    height: 32px;
    background-color: var(--accent);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icono-t111 .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

.texto-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.bloque-t12 {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bloque-t12 a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.bloque-t12 a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.bloque-t12 a.activo {
    background-color: var(--accent);
    color: var(--primary);
}

.bloque-t12 a .material-symbols-outlined {
    font-size: 20px;
}

.texto-menu {
    font-size: 0.875rem;
    font-weight: 500;
}

.notificacion {
    margin-left: auto;
    background-color: #EF4444;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.75rem;
    min-width: 18px;
    text-align: center;
}

.modulo-t2 {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bloque-t21 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.contenido-t211 {
    position: relative;
}

.contenido-t211 .estado {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #10B981;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.contenido-t212 .nombre {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.125rem 0;
}

.contenido-t212 .rol {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin: 0;
    cursor: pointer;
}

.contenido-t212 .rol:hover {
    color: var(--accent);
}

/* ===================================
   HEADER
   =================================== */
.talento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background-color: white;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
}

.modulo-th1 {
    flex: 1;
    max-width: 500px;
}

.bloque-th11 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray-50);
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.bloque-th11 .material-symbols-outlined {
    font-size: 20px;
    color: var(--gray-400);
}

.bloque-th11 input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--primary);
}

.bloque-th11 input::placeholder {
    color: var(--gray-400);
}

.modulo-th2 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bloque-th21 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contenido-th211 {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.contenido-th211:hover {
    background-color: var(--gray-50);
}

.contenido-th211 .material-symbols-outlined {
    font-size: 24px;
    color: var(--gray-600);
}

.contenido-th211 .punto {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    border: 2px solid white;
}

.divisor {
    width: 1px;
    height: 32px;
    background-color: var(--gray-200);
}

.contenido-th212 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contenido-th212 .info {
    text-align: right;
}

.contenido-th212 .nombre {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.125rem 0;
}

.contenido-th212 .plan {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.contenido-th212 .plan .material-symbols-outlined {
    font-size: 14px;
    color: var(--accent);
}

.contenido-th212 .nivel {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.contenido-th212 img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

/* ===================================
   CONTENIDO - ENCABEZADO
   =================================== */
.modulo-td1 {
    margin-bottom: 2rem;
}

.contenido-td11 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.contenido-td11 .bold {
    color: var(--accent);
}

.contenido-td12 {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
}

/* ===================================
   CONTENIDO - MÉTRICAS
   =================================== */
.modulo-td2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bloque-td21,
.bloque-td22,
.bloque-td23 {
    background-color: white;
    border: 1px solid var(--gray-100);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.bloque-td21:hover,
.bloque-td22:hover,
.bloque-td23:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.bloque-td21 .info,
.bloque-td22 .info,
.bloque-td23 .info {
    flex: 1;
}

.bloque-td21 .etiqueta,
.bloque-td22 .etiqueta,
.bloque-td23 .etiqueta {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.bloque-td21 .valor,
.bloque-td22 .valor,
.bloque-td23 .valor {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.bloque-td21 .icono,
.bloque-td22 .icono,
.bloque-td23 .icono {
    font-size: 48px;
    color: var(--accent);
    opacity: 0.2;
}

/* ===================================
   CONTENIDO - BANNER
   =================================== */
.modulo-td3 {
    margin-bottom: 2rem;
}

.bloque-td31 .banner {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 280px;
    position: relative;
}

.bloque-td31 .banner img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    object-fit: cover;
    opacity: 0.8;
}

.bloque-td31 .info-banner {
    position: relative;
    z-index: 10;
    padding: 2.5rem;
    max-width: 60%;
}

.bloque-td31 .etiqueta {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.bloque-td31 .titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

.bloque-td31 .destaque {
    color: var(--accent);
}

.bloque-td31 .subtitulo {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.bloque-td31 .acciones {
    display: flex;
    gap: 1rem;
}

.bloque-td31 .btn-primario {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bloque-td31 .btn-primario:hover {
    background-color: #C9A030;
    transform: translateY(-1px);
}

.bloque-td31 .btn-secundario {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bloque-td31 .btn-secundario:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .talento-main {
        margin-left: 0;
    }

    .talento-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .talento-content {
        padding: 1.5rem;
    }

    .modulo-td2 {
        grid-template-columns: 1fr;
    }

    .bloque-td31 .banner {
        flex-direction: column;
        min-height: auto;
    }

    .bloque-td31 .banner img {
        position: relative;
        width: 100%;
        height: 200px;
    }

    .bloque-td31 .info-banner {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .talento-header {
        padding: 1rem;
    }

    .modulo-th1 {
        max-width: 100%;
    }

    .contenido-th212 .info {
        display: none;
    }

    .contenido-td11 {
        font-size: 1.5rem;
    }

    .bloque-td31 .acciones {
        flex-direction: column;
    }

    .bloque-td31 .acciones button {
        width: 100%;
    }
}