@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --font-brand: 'Michroma', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    font-family: var(--font-body);
    color: #333;
}

.navbar-brand {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    background-color: #F9FAFB;
    border-bottom: 1px solid #F3F4F6;
}

.btn-primary {
    background-color: #6366F1;
    border-color: #6366F1;
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4F46E5;
    border-color: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(79, 70, 229, 0.2);
}

.btn-outline-primary {
    color: #6366F1;
    border-color: #6366F1;
    border-radius: 12px;
}

.btn-outline-primary:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: #4F46E5;
}

.btn-outline-secondary {
    border-radius: 12px;
}

.form-control {
    border-radius: 10px;
    padding: 0.65rem 1rem;
}

.form-control:focus {
    border-color: #C7D2FE;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
}

.btn-group .btn {
    flex: 1;
    padding: 10px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link {
    border-radius: 12px;
}

.nav-pills .nav-link.active {
    background-color: #6366F1;
}

.form-check-input:checked {
    background-color: #6366F1;
    border-color: #6366F1;
}

.meal-card {
    position: relative;
}

.dietary-tags {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.dietary-tags::-webkit-scrollbar {
    display: none; 
}

.badge.bg-danger {
    z-index: 3;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}
