/* Dashboard Styles */
.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 300ms ease-in-out;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease-in-out;
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.chart-container {
    position: relative;
    padding: 1rem 0;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    position: relative;
    animation: barGrow 1.2s ease-out forwards;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.chart-bar::before {
    content: attr(data-value);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 300ms ease-in-out;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: all 300ms ease-in-out;
    z-index: 99;
}

.chart-bar:hover::before,
.chart-bar:hover::after {
    opacity: 1;
}

.chart-bar:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
    filter: brightness(1.3);
}

.chart-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 600;
}

.chart-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    overflow: hidden;
}

.chart-progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: all 500ms ease-in-out;
    animation: progressSlide 1.5s ease-out;
    box-shadow: 0 0 10px currentColor;
    cursor: pointer;
}

.chart-progress-fill:hover {
    filter: brightness(1.3);
    box-shadow: 0 0 20px currentColor;
}

.dashboard-card svg circle {
    transition: all 300ms ease-in-out;
    cursor: pointer;
}

.dashboard-card svg circle:hover {
    filter: brightness(1.3);
    stroke-width: 22;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes progressSlide {
    from {
        width: 0;
    }
}