/* Sistema de Pedido de Marmitas - Estilos */

:root {
    --primary-soft: #4a7c9b;
    --bg-light: #f8f9fa;
    --card-radius: 12px;
}

body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: 600;
}

/* Auth */
.auth-body {
    background: linear-gradient(135deg, #4a7c9b 0%, #2c5282 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.public-body {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.home-card {
    transition: transform 0.15s, box-shadow 0.15s;
    color: inherit;
}

.home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
    color: inherit;
}

.public-header .navbar-brand {
    font-size: 1.1rem;
}

/* Seletor de dia com cardápio visível */
.day-picker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.day-picker-card {
    display: block;
    cursor: pointer;
    margin: 0;
}

.day-picker-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.day-picker-content {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: var(--card-radius);
    padding: 1rem 1.25rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.day-picker-card input:checked + .day-picker-content {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.day-picker-today .day-picker-content {
    border-left: 4px solid #0d6efd;
}

.day-picker-disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.day-picker-disabled .day-picker-content {
    background: #f8f9fa;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    border: none;
    border-radius: var(--card-radius);
}

.auth-icon {
    font-size: 3rem;
    color: var(--primary-soft);
}

/* Cards */
.card {
    border-radius: var(--card-radius);
    border: none;
}

.lunch-card {
    border-left: 4px solid var(--primary-soft);
}

.lunch-card-today {
    border-left-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15) !important;
}

.lunch-card-empty {
    border-left-color: #dee2e6;
    opacity: 0.85;
}

.week-lunches {
    max-width: 640px;
    margin: 0 auto;
}

.rh-week {
    max-width: 800px;
}

.menu-box {
    background: #f0f4f8;
    padding: 1rem;
    border-radius: 8px;
}

.deadline-text {
    color: #856404;
    background: #fff3cd;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* Stats */
.stat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.stat-total {
    background: #e8f4fd;
    border-color: #b8daff;
}

.stat-total .stat-value {
    color: #0d6efd;
}

/* Quick links */
.quick-link {
    transition: transform 0.15s, box-shadow 0.15s;
    color: inherit;
}

.quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: inherit;
}

.quick-link i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-soft);
}

/* Buttons mobile-first */
.btn-action {
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-lg {
    min-height: 48px;
}

/* Tables mobile */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }
}

/* Print styles */
@media print {
    .no-print,
    nav,
    footer,
    .navbar,
    .btn,
    .alert {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .report-card {
        box-shadow: none !important;
        border: none !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    main {
        padding: 0 !important;
    }
}
