/* Farmbeef Suppliers Ranch Management System - base styles */

body {
    background-color: #f4f6f5;
    font-size: 0.95rem;
}

.navbar-brand {
    letter-spacing: 0.3px;
}

/* Larger touch targets for use in the field on tablets/phones (spec section 21) */
.btn {
    min-height: 38px;
}
.btn-lg {
    min-height: 48px;
    font-size: 1.05rem;
}
.form-control, .form-select {
    min-height: 42px;
}
.form-control-lg, .form-select-lg {
    min-height: 52px;
    font-size: 1.1rem;
}

/* Dashboard stat cards */
.stat-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.15s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
}
.stat-card .stat-icon {
    font-size: 1.75rem;
    opacity: 0.85;
}
.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}
.stat-card .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

/* Keep tables usable on small screens: horizontal scroll rather than
   cramped columns (spec section 21). */
.table-responsive-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card {
    border-radius: 0.65rem;
}

.badge {
    font-weight: 500;
}

/* Dashboard Quick Actions: full-width, easy-to-tap buttons on a phone
   screen so a non-technical user isn't hunting for a small link. */
.quick-action-btn {
    flex: 1 1 220px;
}
@media (max-width: 575.98px) {
    .quick-action-btn {
        flex: 1 1 100%;
    }
}

/* Print styles for report pages (spec section 16/22) */
@media print {
    .no-print, nav, footer, .navbar {
        display: none !important;
    }
    .container-fluid {
        padding: 0 !important;
    }
    body {
        background: #fff;
    }
}
