/* Brand Logo HTML/CSS Styling for System RRHH */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.brand-logo-link:hover {
    transform: translateY(-1.5px);
    opacity: 0.95;
}

.brand-logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #0f172a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    animation: badgeShine 4s infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) rotate(30deg); }
    25%, 100% { transform: translateX(100%) rotate(30deg); }
}

.brand-logo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
}

html[data-bs-theme="dark"] .brand-title,
body.theme-dark .brand-title {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 2px;
}

html[data-bs-theme="dark"] .brand-subtitle,
body.theme-dark .brand-subtitle {
    color: #94a3b8;
}

/* Sidebar & Auth Placement */
.sidebar-header .logo {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.auth-logo {
    margin-bottom: 2rem !important;
}
