@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* Mobile-first styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 90px;
}

.btn-app {
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card {
    border: none;
    border-radius: 15px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

.bottom-nav .container-fluid {
    padding: 0 6px;
}

.bottom-nav .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    --bs-gutter-x: 0.25rem;
    scrollbar-width: none;
}

.bottom-nav .row::-webkit-scrollbar {
    display: none;
}

.bottom-nav .col {
    min-width: 78px;
    padding: 0;
}

.bottom-nav .nav-link {
    text-align: center;
    color: #666;
    font-size: 10px;
    line-height: 1.15;
    padding: 6px 2px;
    border-radius: 10px;
    white-space: normal;
}

.bottom-nav .nav-link i {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.bottom-nav .nav-link.active {
    color: #007bff;
    background: #eef4ff;
    font-weight: 600;
}

.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.dashboard-hero {
    background: linear-gradient(135deg, #5b6df6 0%, #8a4fd0 100%);
    color: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.25);
}

.dashboard-hero h1 {
    font-size: 1.45rem;
    font-weight: 700;
}

.dashboard-date,
.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.status-pill {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
}

.notification-bell {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.notification-bell i {
    font-size: 18px;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -3px;
    background: #ff4d6d;
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.hero-balance-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 14px 16px;
}

.hero-balance-card span {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.hero-balance-card h2 {
    margin: 6px 0 0;
    font-weight: 700;
}

.dashboard-stat-card {
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.dashboard-stat-card small {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    margin: 6px 0;
}

.dashboard-stat-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mini-info-card {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mini-info-card small {
    color: rgba(255, 255, 255, 0.92);
    display: block;
    margin-bottom: 6px;
}

.mini-info-card h6 {
    color: #fff;
    font-weight: 700;
}

.notification-panel {
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.notification-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.notification-item:last-child {
    border-bottom: none;
}

.summary-card-income {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.summary-card-budget {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.summary-card-category {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.summary-card-expense {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    color: white;
}

.quick-actions {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    color: white;
}

.quick-actions input,
.quick-actions select,
.quick-actions textarea {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.quick-actions .btn-app {
    background: #2a2f8b;
    border-color: #2a2f8b;
    color: white;
}

.quick-actions-grid .btn-app {
    width: 100%;
    padding: 12px 10px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.quick-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
}

.quick-action-btn {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.quick-action-btn i {
    font-size: 18px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}