/* ========================================================================*
 *                           PALETA DE COLORES                             *
 * ========================================================================*/
/* Colores de Marca (Extraídos del Logo)
   Azul oscuro principal del círculo: #002855
   Naranja vibrante de la flecha: #ff7a00
   Amarillo/Naranja claro de los trazos: #ffa800
   Blanco puro: #ffffff 
*/
/* ========================================================================*
 *                                NOTIFICACIONES                           *
 * ========================================================================*/
.notififlotan-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 48px);
}

.notififlotan-item {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    padding: 16px 20px 16px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 5px solid #ff5500;
    animation: notififlotanSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notififlotanSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notififlotan-item.exit {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.notififlotan-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 85, 0, 0.1);
    color: #ff5500;
}

.notififlotan-icon svg {
    width: 20px;
    height: 20px;
}

.notififlotan-content {
    flex-grow: 1;
}

.notififlotan-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #061329;
    margin: 0 0 2px 0;
}

.notififlotan-message {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.notififlotan-close {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.03);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.notififlotan-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #ff5500;
}

/* Notification Types & Custom Theme Overlays */
.notififlotan-success {
    border-left-color: #10b981;
}

.notififlotan-success .notififlotan-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.notififlotan-error {
    border-left-color: #ef4444;
}

.notififlotan-error .notififlotan-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.notififlotan-warning {
    border-left-color: #ffa800;
}

.notififlotan-warning .notififlotan-icon {
    color: #ffa800;
    background: rgba(255, 168, 0, 0.1);
}

.notififlotan-info {
    border-left-color: #3b82f6;
}

.notififlotan-info .notififlotan-icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* ========================================================================*
 *                                DASHBOARD                                *
 * ========================================================================*/

.reddasher-body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #002855;
    height: 100vh;
    overflow: hidden;
}

.reddasher-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.reddasher-sidebar {
    width: 260px;
    background: radial-gradient(circle at top left, #004085 0%, #002855 40%, #00152d 100%);
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 1000;
    height: 100vh;
    overflow: hidden;
}

.reddasher-logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.reddasher-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reddasher-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 0;
    /* Ocultar barra de scroll en navegadores modernos */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE y Edge */
}

.reddasher-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari y Opera */
}

.reddasher-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reddasher-menu-item {
    margin-bottom: 5px;
}

.reddasher-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 12px;
}

.reddasher-menu-link:hover {
    color: #ffa800;
}

.reddasher-menu-item.active > .reddasher-menu-link {
    color: #ff7a00;
}

.reddasher-menu-item.active {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #ff7a00;
    border-radius: 4px;
    margin: 0 10px;
}

.reddasher-menu-link svg {
    width: 20px;
    height: 20px;
}

.reddasher-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.reddasher-menu-item.open .reddasher-chevron {
    transform: rotate(180deg);
}

.reddasher-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.15);
}

.reddasher-menu-item.open .reddasher-submenu {
    display: block;
}

.reddasher-submenu li a {
    display: block;
    padding: 10px 20px 10px 52px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.reddasher-submenu li a:hover,
.reddasher-submenu li a.active {
    color: #ffa800;
}

/* Main Content */
.reddasher-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.reddasher-header {
    height: 70px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 40, 85, 0.05);
}

.reddasher-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: none;
    align-items: center;
    justify-content: center;
}

.reddasher-header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.reddasher-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding: 5px;
}

.reddasher-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #002855;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.reddasher-user-info {
    display: flex;
    flex-direction: column;
}

.reddasher-name {
    font-weight: 700;
    font-size: 14px;
    color: #002855;
    line-height: 1.2;
}

.reddasher-username {
    font-size: 12px;
    color: #002855;
}

/* Dropdown */
.reddasher-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 0;
}

.reddasher-profile.active .reddasher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reddasher-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #002855;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.reddasher-dropdown-item:hover {
    background-color: rgba(255, 122, 0, 0.05);
    color: #ff7a00;
}

.reddasher-dropdown-item.text-danger {
    color: #ff7a00;
}

.reddasher-dropdown-item.text-danger:hover {
    background-color: rgba(255, 122, 0, 0.05);
    color: #ff7a00;
}

.reddasher-dropdown-divider {
    height: 1px;
    background-color: rgba(0, 40, 85, 0.08);
    margin: 8px 0;
}

/* Content */
.reddasher-content {
    padding: 30px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 992px) {
    .reddasher-sidebar {
        position: fixed;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 10000;
    }

    .reddasher-sidebar.show {
        transform: translateX(0);
    }
    
    .reddasher-toggle-btn {
        display: flex;
    }

    .reddasher-header {
        padding: 0 16px;
    }

    .reddasher-content {
        padding: 16px !important;
    }
}

@media (max-width: 576px) {
    .reddasher-content {
        padding: 12px !important;
    }
    
    .reddasher-header {
        padding: 0 12px;
    }
}