/* === UI Components: The Chef's Pulse & Navbar === */

/* Premium Loading: The Chef's Pulse */
.chef-loader-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 450px;
}

.chef-icon-pulse {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 67, 0.1);
    border-radius: 50%;
}

.chef-icon-pulse i {
    font-size: 3.5rem;
    z-index: 2;
}

.chef-icon-pulse::before,
.chef-icon-pulse::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: icons-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.chef-icon-pulse::after {
    animation-delay: 1s;
}

/* Navbar Button Heights & Alignment (38px Standard) */
.nav-pill-item {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Active Nav Glow */
.nav-pill-item.btn-primary {
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.4) !important;
    border: 1px solid rgba(255,159,67, 0.6) !important;
}

.btn-upgrade {
    background: rgba(39, 174, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    font-weight: 600;
}

.btn-upgrade:hover {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-color: #2ecc71;
}

/* Custom Scrollbar for Recipe Cards */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Premium Navbar: Floating Pill Style */
.navbar-floating {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    margin: 1rem auto;
    padding: 0.4rem 1.5rem;
    max-width: 95%;
    width: 1300px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
    .navbar-floating {
        border-radius: 15px;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
}

.cursor-pointer {
    cursor: pointer;
}

/* Premium Save Button */
.btn-save-recipe {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-save-recipe:hover {
    transform: scale(1.1) translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(29, 209, 161, 0.25);
}

.btn-save-recipe.saved {
    background: linear-gradient(135deg, var(--secondary-color), #10ac84);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(29, 209, 161, 0.4);
}

.btn-save-recipe.saved i {
    animation: bookmark-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bookmark-pop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

