/* SousChef Pro — Custom Styles */

/* General */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
}

/* Navbar branding */
.navbar-brand .badge {
    font-size: 0.65rem;
    vertical-align: middle;
}

/* Cards */
.card {
    border-radius: 12px;
}

/* Buttons */
.btn-warning {
    color: #000;
}
.btn-warning:hover {
    color: #000;
}

/* Table planner */
.table-bordered th, .table-bordered td {
    padding: 0.75rem 0.5rem;
}

/* Form inputs */
.form-control:focus, .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Recipe detail ingredient checkbox */
.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* Ingredient strikethrough animation */
.form-check-label {
    transition: all 0.2s ease;
}

/* Shopping list cards */
#shopping-list .card {
    break-inside: avoid;
}

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

.card {
    animation: fadeIn 0.3s ease;
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .navbar-toggler {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
    }
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem;
    }
    .table-bordered th, .table-bordered td {
        padding: 0.5rem 0.25rem;
        font-size: 0.875rem;
    }
}

/* Alert transitions */
.alert {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checkbox list groups */
.list-group-item .form-check-input {
    margin-top: 0;
}

/* Empty state centering */
.card-body .fs-1 {
    opacity: 0.5;
}

/* Modal fine-tuning */
.modal-header {
    border-bottom-color: #eee;
}

/* Stripe badge */
.bg-warning.bg-opacity-25 {
    background-color: rgba(255, 193, 7, 0.25) !important;
}

/* Footer link hover */
footer a:hover {
    color: #000 !important;
}
