/* Mobile Optimizations */
@media (max-width: 640px) {
    header h1 {
        font-size: 1.25rem;
        line-height: 1.5;
    }
    
    header p {
        font-size: 0.625rem;
    }
    
    .nav-btn {
        font-size: 10px;
        padding: 10px 6px;
        line-height: 1.4;
    }
    
    .sticky.top-0 {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    .brutalist-card {
        border: 3px solid #000;
        box-shadow: 4px 4px 0px #000;
        padding: 12px;
    }
    
    .brutalist-card:hover {
        box-shadow: 5px 5px 0px #000;
    }
    
    .brutalist-btn {
        border: 2px solid #000;
        box-shadow: 3px 3px 0px #000;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .brutalist-btn:hover {
        box-shadow: 4px 4px 0px #000;
    }
    
    .brutalist-input {
        border: 2px solid #000;
        box-shadow: 3px 3px 0px #000;
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .brutalist-input:focus {
        box-shadow: 4px 4px 0px #000;
    }
    
    .metric-card {
        padding: 10px;
    }
    
    .metric-card .text-2xl {
        font-size: 1.25rem;
    }
    
    .font-black.text-lg {
        font-size: 1rem;
    }
    
    .font-bold.text-sm {
        font-size: 0.75rem;
    }
    
    .text-lg.font-black {
        font-size: 1rem;
    }
    
    .debt-item, .payment-item {
        padding: 8px;
        border-left-width: 4px;
    }
    
    .text-xl.font-black {
        font-size: 1.125rem;
    }
    
    .toast-container {
        width: 95%;
        top: 80px;
    }
    
    .toast {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .toast-icon {
        font-size: 18px;
    }
    
    .max-w-md.mx-auto {
        padding: 0 12px;
    }
    
    .text-3xl.font-black {
        font-size: 1.5rem;
    }
    
    .grid.grid-cols-2.gap-3 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .grid.grid-cols-2.gap-4 {
        gap: 12px;
    }
    
    .space-y-3 > * + * {
        margin-top: 0.75rem;
    }
    
    .mb-6 {
        margin-bottom: 1rem;
    }
    
    .mb-4 {
        margin-bottom: 0.75rem;
    }
    
    .mb-3 {
        margin-bottom: 0.5rem;
    }
    
    .mt-10.mb-10 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .px-3.py-2.text-xs {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .text-6xl.mb-3 {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .max-h-60 {
        max-height: 200px;
    }
    
    .space-y-2 > * + * {
        margin-top: 0.5rem;
    }

    .custom-dropdown-panel {
        border: 3px solid #000;
        box-shadow: 6px 6px 0px #000;
    }

    .custom-dropdown-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    .custom-dropdown-list {
        max-height: 180px;
    }

    .custom-dropdown-search input {
        padding: 6px 10px !important;
        font-size: 14px;
    }

    .custom-dropdown + input,
    .custom-dropdown + .grid {
        margin-top: 8px;
    }
}
