/* ========================================
   DASHBOARD PRINCIPAL - Navitel GPS
   Versión Compacta con Información
   ======================================== */

/* Variables de colores del dashboard */
:root {
    --dashboard-dark: #1e2836;
    --dashboard-darker: #161d28;
    --dashboard-accent: #00bcd4;
    --dashboard-active: #4dd0e1;
    --dashboard-bg: #f0f4f8;
    --dashboard-white: #ffffff;
    --dashboard-text: #333333;
    --dashboard-text-light: #6c757d;
    --dashboard-red: #f44336;
    --dashboard-green: #4caf50;
    --dashboard-yellow: #ffc107;
    --dashboard-blue: #2196f3;
    --dashboard-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --dashboard-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   LAYOUT COMPACTO
   ======================================== */
.dashboard-principal-compact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-showcase-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
    margin-top: 3rem;
}

.dashboard-preview-container {
    position: relative;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-mockup {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    width: 100%;
    min-height: 650px;
}

.dashboard-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SIDEBAR COMPACTO
   ======================================== */
.dashboard-sidebar-compact {
    width: 220px;
    background: linear-gradient(180deg, var(--dashboard-dark) 0%, var(--dashboard-darker) 100%);
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.sidebar-logo-dashboard-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon-dashboard-compact {
    width: 32px;
    height: 32px;
    background: var(--dashboard-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    animation: logoRotate 3s ease-in-out infinite;
}

@keyframes logoRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
        box-shadow: 0 0 25px rgba(0, 188, 212, 0.6);
    }
}

.logo-text-dashboard-compact {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.logo-accent-dashboard {
    color: var(--dashboard-accent);
}

.sidebar-company-info-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    margin: 0 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.company-avatar-compact {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.company-name-compact {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin: 0 0 2px 0;
}

.company-id-compact {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.sidebar-menu-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 0.5rem;
}

.menu-link-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.menu-link-compact:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.menu-link-compact i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.menu-link-compact.active {
    background: linear-gradient(135deg, var(--dashboard-accent), var(--dashboard-active));
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3);
}

.menu-badge-compact {
    margin-left: auto;
    background: var(--dashboard-red);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
}

.pulse-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   MAIN CONTENT COMPACTO
   ======================================== */
.dashboard-main-content-compact {
    flex: 1;
    padding: 1.5rem;
    background: var(--dashboard-bg);
}

.dashboard-header-compact {
    margin-bottom: 1.5rem;
}

.dashboard-title-compact {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--dashboard-accent);
    margin: 0;
}

.dashboard-cards-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-card-compact {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--dashboard-shadow);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeInUp 0.6s ease-out forwards;
}

.dashboard-card-compact[data-animation-delay="0"] {
    animation-delay: 0.2s;
}

.dashboard-card-compact[data-animation-delay="150"] {
    animation-delay: 0.4s;
}

.dashboard-card-compact[data-animation-delay="300"] {
    animation-delay: 0.6s;
}

@keyframes cardFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--dashboard-shadow-hover);
}

/* Card Icons Compactos */
.card-icon-wrapper-compact {
    margin-bottom: 1rem;
}

.card-icon-compact {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-card-compact:hover .card-icon-compact {
    transform: scale(1.05);
}

.seguimiento-icon {
    background: linear-gradient(135deg, #a8e6cf 0%, #7ed9a4 100%);
}

.map-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 10px 10px;
    animation: gridScroll 15s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 10px 10px; }
}

.map-marker-compact {
    position: relative;
    z-index: 2;
}

.marker-dot-compact {
    width: 16px;
    height: 16px;
    background: #2196f3;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(33, 150, 243, 0.4);
    animation: markerBounce 2s ease-in-out infinite;
}

@keyframes markerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.tareas-icon {
    background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
}

.folders-stack-compact {
    position: relative;
    width: 50px;
    height: 50px;
}

.folder-compact {
    position: absolute;
    width: 40px;
    height: 32px;
    background: #ff9800;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

.folder-compact::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 35%;
    height: 8px;
    background: #ff9800;
    border-radius: 3px 3px 0 0;
}

.folder-1 {
    z-index: 1;
    animation: folderFloat1 3s ease-in-out infinite;
}

.folder-2 {
    left: 10px;
    top: 10px;
    z-index: 2;
    background: #ffa726;
    animation: folderFloat2 3s ease-in-out infinite 0.5s;
}

@keyframes folderFloat1 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
}

@keyframes folderFloat2 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-3px) rotate(4deg); }
}

.flota-icon {
    background: linear-gradient(135deg, #a1c4fd 0%, #4fc3f7 100%);
    font-size: 2rem;
    color: white;
}

.flota-icon i {
    animation: carShake 3s ease-in-out infinite;
}

@keyframes carShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Card Content Compacto */
.card-content-compact {
    animation: contentFadeIn 0.6s ease-out 0.3s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-title-compact {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dashboard-text);
    margin: 0 0 0.3rem 0;
}

.card-subtitle-compact {
    font-size: 0.7rem;
    color: var(--dashboard-text-light);
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.card-status-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--dashboard-text);
}

.status-dot-compact {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-green {
    background: var(--dashboard-green);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.status-yellow {
    background: var(--dashboard-yellow);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.status-red {
    background: var(--dashboard-red);
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.4);
}

.status-blue {
    background: var(--dashboard-blue);
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.4);
}

.status-count-compact {
    font-weight: 700;
    min-width: 15px;
}

.status-text-compact {
    color: var(--dashboard-text-light);
    font-size: 0.7rem;
}

/* ========================================
   FEATURES INFO
   ======================================== */
.dashboard-features-info {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1.3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.feature-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dashboard-text);
    margin: 0 0 0.4rem 0;
}

.feature-info-content p {
    font-size: 0.85rem;
    color: var(--dashboard-text-light);
    line-height: 1.5;
    margin: 0;
}

.cta-demo {
    margin-top: 2rem;
    text-align: center;
}

.cta-demo .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* ========================================
   GRÁFICO DE KILOMETRAJE COMPACTO
   ======================================== */
.dashboard-chart-compact {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    min-height: 220px;
}

.chart-title-compact {
    font-size: 0.85rem;
    font-weight: 600;
    color: #37474f;
    margin: 0 0 1rem 0;
}

.chart-wrapper-compact {
    position: relative;
    height: 220px;
    min-height: 220px;
    width: 100%;
    background: white;
    padding: 10px;
}

.chart-wrapper-compact canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .dashboard-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-mockup {
        flex-direction: column;
    }
    
    .dashboard-sidebar-compact {
        width: 100%;
    }
    
    .dashboard-cards-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .sidebar-menu-compact {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .menu-link-compact {
        flex-direction: column;
        min-width: 70px;
        text-align: center;
        padding: 0.6rem;
        font-size: 0.7rem;
    }
}


/* ========================================
   SIDEBAR
   ======================================== */
.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dashboard-dark) 0%, var(--dashboard-darker) 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
    overflow-y: auto;
}

/* Logo */
.sidebar-logo-dashboard {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 2rem;
    margin-bottom: 2rem;
    animation: logoFadeIn 0.6s ease-out;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-icon-dashboard {
    width: 45px;
    height: 45px;
    background: var(--dashboard-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    position: relative;
    animation: logoRotate 3s ease-in-out infinite;
}

@keyframes logoRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
        box-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
    }
}

.logo-text-dashboard {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-accent-dashboard {
    color: var(--dashboard-accent);
}

/* Company Info */
.sidebar-company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 2rem;
    margin: 0 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: companyInfoSlide 0.6s ease-out 0.2s both;
}

@keyframes companyInfoSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.company-avatar {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.company-id {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Menu */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 1rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.15), rgba(77, 208, 225, 0.15));
    transition: width 0.4s ease;
    z-index: -1;
}

.menu-link:hover::before {
    width: 100%;
}

.menu-link:hover {
    color: white;
    transform: translateX(5px);
}

.menu-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.menu-link.active {
    background: linear-gradient(135deg, var(--dashboard-accent), var(--dashboard-active));
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.menu-link.active::before {
    width: 0;
}

.menu-active-indicator {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: white;
    border-radius: 2px 0 0 2px;
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

/* Badge */
.menu-link.has-badge {
    position: relative;
}

.menu-badge {
    margin-left: auto;
    background: var(--dashboard-red);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.pulse-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(244, 67, 54, 0.6);
    }
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.dashboard-main-content {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
    background: var(--dashboard-bg);
}

.dashboard-header {
    margin-bottom: 3rem;
    animation: headerFadeIn 0.8s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--dashboard-accent);
    margin: 0;
    letter-spacing: -0.5px;
}

/* ========================================
   CARDS GRID
   ======================================== */
.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--dashboard-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeInUp 0.6s ease-out forwards;
}

.dashboard-card[data-animation-delay="0"] {
    animation-delay: 0.2s;
}

.dashboard-card[data-animation-delay="150"] {
    animation-delay: 0.4s;
}

.dashboard-card[data-animation-delay="300"] {
    animation-delay: 0.6s;
}

@keyframes cardFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--dashboard-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--dashboard-shadow-hover);
}

/* Card Icons */
.card-icon-wrapper {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.dashboard-card:hover .card-icon {
    transform: scale(1.05);
}

/* Icon: Seguimiento */
.seguimiento-icon {
    background: linear-gradient(135deg, #a8e6cf 0%, #7ed9a4 100%);
}

.map-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 15px 15px;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 15px 15px; }
}

.map-marker {
    position: relative;
    z-index: 2;
}

.marker-dot {
    width: 24px;
    height: 24px;
    background: #2196f3;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    animation: markerBounce 2s ease-in-out infinite;
}

@keyframes markerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.marker-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 34px;
    height: 34px;
    border: 2px solid #2196f3;
    border-radius: 50%;
    animation: markerPulseOut 2s ease-out infinite;
}

@keyframes markerPulseOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Icon: Tareas */
.tareas-icon {
    background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
}

.folders-stack {
    position: relative;
    width: 80px;
    height: 80px;
}

.folder {
    position: absolute;
    width: 60px;
    height: 50px;
    background: #ff9800;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    transition: transform 0.4s ease;
}

.folder::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 35%;
    height: 10px;
    background: #ff9800;
    border-radius: 4px 4px 0 0;
}

.folder-1 {
    z-index: 1;
    animation: folderFloat1 3s ease-in-out infinite;
}

.folder-2 {
    left: 20px;
    top: 15px;
    z-index: 2;
    background: #ffa726;
    animation: folderFloat2 3s ease-in-out infinite 0.5s;
}

@keyframes folderFloat1 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(-8deg); }
}

@keyframes folderFloat2 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.dashboard-card:hover .folder-1 {
    transform: translateY(-10px) rotate(-8deg);
}

.dashboard-card:hover .folder-2 {
    transform: translateY(-5px) rotate(5deg);
}

/* Icon: Flota */
.flota-icon {
    background: linear-gradient(135deg, #a1c4fd 0%, #4fc3f7 100%);
    font-size: 3rem;
    color: white;
}

.signal-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: waveExpand 3s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

@keyframes waveExpand {
    0% {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.flota-icon i {
    position: relative;
    z-index: 2;
    animation: carShake 3s ease-in-out infinite;
}

@keyframes carShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Card Content */
.card-content {
    animation: contentFadeIn 0.6s ease-out 0.3s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dashboard-text);
    margin: 0 0 0.5rem 0;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--dashboard-text-light);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Status List */
.card-status-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dashboard-text);
    transition: transform 0.2s ease;
}

.status-item:hover {
    transform: translateX(5px);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
    animation: statusDotPulse 2s ease-in-out infinite;
}

@keyframes statusDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-green {
    background: var(--dashboard-green);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

.status-green::before {
    background: var(--dashboard-green);
}

.status-yellow {
    background: var(--dashboard-yellow);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.status-yellow::before {
    background: var(--dashboard-yellow);
}

.status-red {
    background: var(--dashboard-red);
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.4);
}

.status-red::before {
    background: var(--dashboard-red);
}

.status-blue {
    background: var(--dashboard-blue);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.4);
}

.status-blue::before {
    background: var(--dashboard-blue);
}

.status-count {
    font-weight: 700;
    min-width: 25px;
    color: var(--dashboard-text);
}

.status-text {
    color: var(--dashboard-text-light);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1200px) {
    .dashboard-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-sidebar {
        width: 240px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        padding: 1.5rem 0;
    }
    
    .dashboard-main-content {
        padding: 2rem 1.5rem;
    }
    
    .dashboard-title {
        font-size: 1.8rem;
    }
    
    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .menu-link {
        flex-direction: column;
        gap: 5px;
        padding: 0.8rem;
        min-width: 80px;
        text-align: center;
    }
    
    .menu-link span {
        font-size: 0.75rem;
    }
    
    .card-icon {
        height: 100px;
    }
}

/* Scrollbar styling */
.dashboard-sidebar::-webkit-scrollbar,
.dashboard-main-content::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-main-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.dashboard-main-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.dashboard-main-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
