html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* SlowBooks custom styles */
.navbar-brand {
    font-size: 1.3rem;
}

.card {
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.1);
}

.table th {
    white-space: nowrap;
}

.amount-positive {
    color: #198754;
    font-weight: 500;
}

.amount-negative {
    color: #dc3545;
    font-weight: 500;
}

.filter-panel {
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stat-card .card-body {
    padding: 1rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Print styles */
@media print {
    .navbar, .btn, .filter-panel, footer, .alert {
        display: none !important;
    }
    .container-fluid {
        padding: 0 !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
}

/* Transaction table */
.txn-row:hover {
    background-color: #f0f7ff;
}

.txn-unclassified {
    border-left: 3px solid #ffc107;
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }
}
