
/* === ГЛОБАЛЬНЫЙ СОВРЕМЕННЫЙ ДИЗАЙН (GLASSMORPHISM) === */

/* Единый фон для всех страниц */
body {
    background: linear-gradient(135deg, #e6f4ff 0%, #cce7ff 100%) !important;
    background-attachment: fixed !important;
    font-family: 'Inter', sans-serif !important;
    color: #1f2937 !important;
}

/* Стеклянные карточки */
.card, .recipe-card, .shopping-cart, .day-card, .menu-card, .modal-content, .receipt-box, .calculator-box, .history-box {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Эффект парения при наведении на карточки */
.menu-card:hover, a.recipe-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 1) !important;
}

/* Плавающая верхняя панель */
.top-nav, .top-bar {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    padding: 12px 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
}

/* Красивые сочные кнопки */
button, .btn, .btn-nav, .btn-sm, .h-tag {
    border-radius: 12px !important;
    font-weight: 700 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    letter-spacing: 0.3px !important;
}

/* Анимация кнопок при наведении */
button:hover, .btn:hover, .btn-nav:hover, .btn-sm:hover, .h-tag:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
    filter: brightness(1.08) !important;
}

/* Анимация нажатия (клик) */
button:active, .btn:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}

/* Поля ввода и выпадающие списки */
input[type="text"], input[type="password"], input[type="number"], input[type="file"], select, textarea {
    border-radius: 12px !important;
    border: 2px solid #e0f2fe !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1em !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
}

/* Фокус на полях ввода (подсветка) */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    background: #ffffff !important;
}

/* Заголовки в едином синем цвете */
h1, h2, h3 {
    color: #1e3a8a !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

/* Списки ингредиентов и покупок */
.ingredients-list li, .cart-list li {
    border-bottom: 1px dashed #bfdbfe !important;
    padding: 15px 10px !important;
    transition: background 0.2s, transform 0.2s !important;
    border-radius: 8px !important;
}

/* Выделение продукта при наведении мыши */
.cart-list li:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.01) !important;
}

/* Купленные (зачеркнутые) товары */
.checked-item {
    background: rgba(243, 244, 246, 0.4) !important;
    color: #9ca3af !important;
    opacity: 0.7 !important;
}
.checked-item .item-amount {
    background: #e5e7eb !important;
    color: #6b7280 !important;
}

/* Красивые чекбоксы */
.item-checkbox, .cb-cat, .i-scale {
    width: 22px !important;
    height: 22px !important;
    accent-color: #3b82f6 !important;
    cursor: pointer !important;
    border-radius: 6px !important;
}

/* Теги (завтрак, обед и тд) */
.tag {
    background: #eff6ff !important;
    color: #2563eb !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.1) !important;
}
