/* public/css/app.css */

/* Global Styles */
body {
    background-color: #f8f9fa;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}
.nav-link {
    color: #495057;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #0056b3 !important;
}
.nav-link.active {
    color: #0d6efd !important;
    font-weight: 500;
}

/* Container */
.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Tables */
.table {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
}
.table th {
    background-color: #e9ecef;
    font-weight: 600;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}

/* Buttons */
.btn {
    border-radius: 4px;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Forms */
.form-control {
    border-radius: 4px;
    border-color: #ced4da;
}
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.form-select {
    border-radius: 4px;
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Ingredient Rows */
.ingredient-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ingredient-row .form-control,
.ingredient-row .form-select {
    font-size: 0.9rem;
}

/* Calendar */
.drop-zone {
    min-height: 60px;
    position: relative;
    padding: 6px;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.2s;
}
.drop-zone:hover {
    background-color: #f1f1f1;
}
.drop-zone .meal-entry {
    background-color: #e2e6ea;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 2px 0;
    cursor: grab;
}

/* Modale */
.modal-content {
    border-radius: 8px;
}
.modal-header, .modal-footer {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Alerts */
.alert {
    border-radius: 4px;
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}