/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    padding: 60px 20px; /* Increased top/bottom padding */
    max-width: 850px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Header - Vertical Layout */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px; /* Increased bottom margin */
    padding-top: 40px;    /* Increased top padding */
    animation: fadeInUp 0.5s ease-out;
}

.app-icon {
    width: 80px;  /* Larger for Lottie */
    height: 80px;
    margin-bottom: 15px; /* Space between icon and title */
    /* Removed background, border-radius, and shadow as requested */
}

.title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Overview Cards */
.overview {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px; /* Increased spacing between overview and charts */
    gap: 25px;           /* Increased gap between cards */
}

.stat-card {
    background-color: #1C1C1E;
    border-radius: 12px;
    padding: 22px;
    flex: 1;
    min-width: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    opacity: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Arial', sans-serif;
}

.usage-value { color: #0A84FF; }
.active-value { color: #34C759; }
.total-value { color: #BF5AF2; }

.stat-label {
    font-size: 14px;
    color: #8E8E93;
    font-weight: 500;
}

/* Charts */
.chart-container {
    background-color: #1C1C1E;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.chart-date-range {
    color: #8E8E93;
    font-size: 13px;
    margin-bottom: 20px;
}

.chart-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
    .overview {
        flex-direction: column;
    }
    
    .chart-wrapper {
        height: 200px;
    }
}
