/* Custom CSS for BudgetPro */

:root {
    --primary-blue: #3b82f6;
    --primary-green: #10b981;
    --secondary-purple: #8b5cf6;
    --secondary-teal: #14b8a6;
    --success-green: #22c55e;
    --warning-yellow: #f59e0b;
    --danger-red: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-gradient-green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-green:hover {
    background: linear-gradient(135deg, #059669, #0d9488);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Cards */
.process-card {
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.nav-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Backgrounds */
.gradient-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.gradient-bg-light {
    background: linear-gradient(135deg, #dcfce7, #dbeafe);
}

/* Mobile Phone Frame */
.phone-frame {
    width: 320px;
    background: #000;
    border-radius: 2.5rem;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    background: white;
    border-radius: 2rem;
    height: 680px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    height: 24px;
    background: #000;
    border-radius: 2rem 2rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: white;
    font-size: 12px;
}

.app-content {
    height: 608px;
    overflow-y: auto;
    padding: 16px;
}

.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 8px 0;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-tab.active {
    color: var(--primary-blue);
}

.nav-tab:hover {
    color: var(--primary-blue);
}

.nav-tab i {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-tab span {
    font-size: 12px;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    border: none;
    border-radius: 1rem;
}

/* Category Icons */
.category-btn {
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    transition: all 0.2s;
}

.category-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress Bars */
.progress-bar-custom {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

/* Transaction Cards */
.transaction-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px;
}

.transaction-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.text-amber-600 { color: #f59e0b; }
.text-blue-600 { color: #3b82f6; }
.text-purple-600 { color: #8b5cf6; }
.text-red-600 { color: #ef4444; }
.text-green-600 { color: #22c55e; }
.text-pink-600 { color: #ec4899; }
.text-indigo-600 { color: #6366f1; }
.text-yellow-600 { color: #eab308; }

.bg-amber-100 { background-color: #fef3c7; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-purple-100 { background-color: #ede9fe; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.bg-pink-100 { background-color: #fce7f3; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-yellow-100 { background-color: #fef3c7; }

/* Tab Navigation Styling */
.nav-tabs .nav-link {
    border: none;
    color: #6b7280;
    padding: 12px 16px;
    margin-right: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-tabs .nav-link.active {
    background: var(--primary-blue);
    color: white;
}

.nav-tabs .nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .phone-frame {
        width: 280px;
    }
    
    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .nav-tabs .nav-link span {
        display: none;
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chart containers */
.chart-container {
    height: 250px;
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-style: italic;
}

/* Custom scrollbar */
.app-content::-webkit-scrollbar {
    width: 4px;
}

.app-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.app-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}