/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
    /* Override Bootstrap primary color from blue to orange */
    --bs-primary: #FEA116;
    --bs-primary-rgb: 254, 161, 22;
    --bs-primary-bg-subtle: rgba(254, 161, 22, 0.1);
    --bs-primary-border-subtle: rgba(254, 161, 22, 0.2);
    --bs-primary-text-emphasis: #FEA116;
    --bs-link-color: #FEA116;
    --bs-link-hover-color: #e6930e;
    --bs-link-color-rgb: 254, 161, 22;
    --bs-link-hover-color-rgb: 230, 147, 14;
    --bs-btn-color: #FEA116;
    --bs-btn-hover-color: #e6930e;
    --bs-btn-active-color: #e6930e;
    --bs-btn-focus-color: #e6930e;
}

html {
    font-size: 12.5px;
}

body {
    font-family: 'Inter', sans-serif !important;
}

.ff-secondary {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Force orange colors for all Bootstrap primary elements */
.btn-primary {
    background: linear-gradient(135deg, #FEA116 0%, #FF8C00 100%) !important;
    border-color: #FEA116 !important;
    color: #FFFFFF !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 161, 22, 0.3);
    border: none !important;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #FF8C00 0%, #e08a0e 100%) !important;
    border-color: #FF8C00 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224, 138, 14, 0.4) !important;
}

.btn-primary:active {
    transform: translateY(-1px);
}

a {
    color: #FEA116 !important;
}

a:hover {
    color: #e6930e !important;
}

/* Navbar (bg-dark utility overridden to white; nav links follow) */
.navbar.bg-dark,
.navbar.bg-dark.sticky-top {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 43, 0.08);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

/* Hero banner and footer also use the bg-dark utility directly on pages
   that don't extend base.html (home, about, menu, etc.) - flip those too. */
.hero-header.bg-dark,
.bg-dark.hero-header {
    background-color: #ffffff !important;
}

/* Text inside those hero banners was authored as white-on-dark; now that
   the banner is white, force it dark so it stays readable. */
.hero-header .text-white,
.hero-header.text-white {
    color: var(--dark) !important;
}

.footer.bg-dark,
.bg-dark.footer {
    background-color: #ffffff !important;
}

.navbar-dark .nav-link {
    color: rgba(15, 23, 43, 0.7) !important;
}

.navbar-dark .nav-link:hover, .navbar-dark .nav-link:focus {
    color: #FEA116 !important;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(15, 23, 43, 0.3) !important;
    color: #0F172B !important;
}

.text-primary {
    color: #FEA116 !important;
}

.bg-primary {
    background-color: #FEA116 !important;
}

.border-primary {
    border-color: #FEA116 !important;
}

/* Ensure all buttons with orange backgrounds have white text */
.btn-outline-primary {
    color: #FEA116 !important;
    border: 2px solid #FEA116 !important;
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(254, 161, 22, 0.1);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #FEA116 0%, #FF8C00 100%) !important;
    color: #FFFFFF !important;
    border-color: #FF8C00 !important;
    box-shadow: 0 6px 16px rgba(254, 161, 22, 0.3) !important;
    transform: translateY(-2px);
}

.btn-outline-danger {
    color: #FF6B6B !important;
    border: 2px solid #FF6B6B !important;
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #ee5a6f 100%) !important;
    color: #FFFFFF !important;
    border-color: #ee5a6f !important;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3) !important;
    transform: translateY(-2px);
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--dark) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate {
    100% {
        transform: rotate(360deg);
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
/* Bootstrap's text-light utility (used throughout the footer markup) needs
   to flip to dark now that the footer background is white. */
.footer.text-light,
.footer .text-light {
    color: var(--dark) !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 1px solid rgba(15, 23, 43, 0.3);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--dark);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(15, 23, 43, 0.08);
}

.footer .copyright a {
    color: var(--dark);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(15, 23, 43, 0.08);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN FOR ERUGAH TEMPLATE ===== */

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem !important;
    }

    .navbar-brand {
        font-size: 1rem !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        margin-left: 0 !important;
        padding: 8px 0 !important;
        font-size: 13px !important;
    }

    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 8px 0 !important;
    }

    .navbar-dark .navbar-brand img {
        max-height: 40px !important;
    }

    .sticky-top.navbar-dark .navbar-brand img {
        max-height: 35px !important;
    }

    .hero-header {
        min-height: 300px;
    }

    .hero-header h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .hero-header p {
        font-size: 0.95rem !important;
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    }

    h2 {
        font-size: clamp(1.3rem, 4vw, 2rem) !important;
    }

    h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.75rem) !important;
    }

    .display-4 {
        font-size: 1.8rem !important;
    }

    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }

    .btn-square {
        width: 36px !important;
        height: 36px !important;
    }

    .btn-sm-square {
        width: 30px !important;
        height: 30px !important;
    }

    .btn-lg-square {
        width: 44px !important;
        height: 44px !important;
    }

    .section-title::before,
    .section-title::after {
        display: none !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .service-item {
        margin-bottom: 1rem !important;
        padding: 1.5rem !important;
    }

    .team-item {
        margin-bottom: 1rem !important;
    }

    .video {
        min-height: 300px !important;
    }

    .video .btn-play {
        padding: 12px 15px 12px 20px;
    }

    .video .btn-play:before,
    .video .btn-play:after {
        width: 60px !important;
        height: 60px !important;
    }

    #videoModal .modal-dialog {
        margin: 30px auto 0 auto;
    }

    .testimonial-item {
        padding: 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .footer {
        padding: 2rem 0 !important;
    }

    .footer .btn.btn-social {
        width: 32px !important;
        height: 32px !important;
        margin-right: 3px !important;
        font-size: 0.85rem !important;
    }

    .footer .btn.btn-link {
        font-size: 0.9rem !important;
        margin-bottom: 3px !important;
    }

    .footer .copyright {
        padding: 1rem 0 !important;
        font-size: 0.85rem !important;
    }

    .back-to-top {
        right: 20px !important;
        bottom: 20px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .form-control, .form-select {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
    }

    .form-label {
        font-size: 0.9rem !important;
    }

    .table {
        font-size: 0.85rem !important;
    }

    .table thead th {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
    }

    .table tbody td {
        padding: 0.5rem !important;
    }

    .breadcrumb-item {
        font-size: 0.85rem !important;
    }

    /* Responsive spacing */
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    section {
        padding: 2rem 0 !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Small Devices (481px - 640px) */
@media (max-width: 640px) and (min-width: 481px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-size: 14px !important;
    }

    .hero-header h1 {
        font-size: 2.2rem !important;
    }

    .btn {
        padding: 0.8rem 1.5rem !important;
    }

    .section-title {
        font-size: 1.7rem !important;
    }

    .video {
        min-height: 350px !important;
    }

    .footer .copyright {
        font-size: 0.9rem !important;
    }
}

/* Medium Devices (641px - 768px) */
@media (max-width: 768px) and (min-width: 641px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 15px 0 !important;
        font-size: 14px !important;
    }

    .hero-header h1 {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 1.9rem !important;
    }

    .btn {
        padding: 0.85rem 1.8rem !important;
    }

    .video {
        min-height: 400px !important;
    }
}

/* Tablets/Landscape (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 15px !important;
        padding: 15px 0 !important;
        font-size: 14px !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .video {
        min-height: 500px !important;
    }
}

/* Large Devices (1025px and up) */
@media (min-width: 1025px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 25px !important;
        padding: 35px 0 !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }
}

/* Responsive Hero Header */
@media (max-width: 768px) {
    .hero-header {
        background-position: center center !important;
        min-height: auto !important;
    }

    .hero-header .container,
    .hero-header .container-fluid {
        padding: 2rem 1rem !important;
    }
}

/* Responsive Service Section */
@media (max-width: 768px) {
    .service-item {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .service-item i {
        font-size: 2rem !important;
    }
}

/* Responsive Team Section */
@media (max-width: 768px) {
    .team-item {
        margin-bottom: 1.5rem !important;
    }

    .team-item .btn {
        padding: 0.75rem !important;
        font-size: 0.85rem !important;
    }
}

/* Enhanced Admin Dish Database Styles */
.info-box {
    background: linear-gradient(135deg, rgba(254, 161, 22, 0.12) 0%, rgba(254, 161, 22, 0.06) 100%) !important;
    border-left: 5px solid #FEA116 !important;
    border-radius: 12px !important;
    padding: 2rem 2rem 2rem 2.5rem !important;
    margin-bottom: 2.5rem !important;
    box-shadow: 0 4px 16px rgba(254, 161, 22, 0.15) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    border-top: 1px solid rgba(254, 161, 22, 0.2) !important;
    border-right: 1px solid rgba(254, 161, 22, 0.1) !important;
    border-bottom: 1px solid rgba(254, 161, 22, 0.1) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box i {
    color: #FEA116 !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
    margin-top: 0.25rem !important;
    background: rgba(254, 161, 22, 0.15) !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.info-box strong {
    color: #0F172B !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.3px !important;
}

.info-box p {
    margin: 0 !important;
    color: #333333 !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
}

/* Badge Styles */
.badge {
    padding: 0.6rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    color: white !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%) !important;
    color: white !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #2196F3 0%, #1976d2 100%) !important;
    color: white !important;
}

.badge-primary {
    background: linear-gradient(135deg, #FEA116 0%, #FF8C00 100%) !important;
    color: white !important;
}

.badge-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%) !important;
    color: white !important;
}

/* Table Styles */
.table {
    background: white !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.table thead {
    background: linear-gradient(135deg, #FEA116 0%, #ff8c42 100%) !important;
    border-bottom: 2px solid rgba(254, 161, 22, 0.2) !important;
}

.table thead th {
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 1.25rem 1rem !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    background: transparent !important;
    position: relative !important;
}

.table tbody td {
    border-color: #e1e8ed !important;
    padding: 1.25rem 1rem !important;
    vertical-align: middle !important;
    font-size: 0.95rem !important;
    color: #333 !important;
    font-weight: 500 !important;
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e1e8ed !important;
}

.table tbody tr:hover {
    background-color: rgba(254, 161, 22, 0.08) !important;
    box-shadow: inset 3px 0 0 #FEA116 !important;
}

.table tbody tr:hover td {
    color: #0F172B !important;
}

.table tbody tr:last-child {
    border-bottom: none !important;
}

/* Card Main Styles */
.card-main {
    background: white !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 2rem !important;
    border: 1px solid #e1e8ed !important;
    transition: all 0.3s ease;
    position: relative;
}

.card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FEA116 0%, rgba(254, 161, 22, 0.3) 100%);
    border-radius: 12px 12px 0 0;
}

.card-main:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(254, 161, 22, 0.3) !important;
}

/* Tab Navigation Styles */
.nav-tabs {
    border-bottom: 2px solid #e1e8ed !important;
    margin-bottom: 2rem !important;
    gap: 0.5rem !important;
    padding-bottom: 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.nav-item {
    margin-bottom: -2px !important;
}

.nav-link {
    color: #7f8c8d !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    position: relative !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.03em !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.nav-link:hover {
    color: #FEA116 !important;
    background-color: rgba(254, 161, 22, 0.05) !important;
}

.nav-link.active {
    color: #FEA116 !important;
    background-color: rgba(254, 161, 22, 0.1) !important;
    border-bottom: 3px solid #FEA116 !important;
    box-shadow: 0 -2px 8px rgba(254, 161, 22, 0.1);
}

/* Ingredient Section Styles */
.ingredient-section {
    background: linear-gradient(135deg, rgba(254, 161, 22, 0.08) 0%, rgba(254, 161, 22, 0.03) 100%) !important;
    padding: 2.5rem 2rem 2rem 2rem !important;
    border-radius: 12px !important;
    margin: 2rem 0 !important;
    border: 2px dashed rgba(254, 161, 22, 0.35) !important;
    position: relative !important;
    transition: all 0.3s ease;
}

.ingredient-section:hover {
    border-color: rgba(254, 161, 22, 0.5) !important;
    background: linear-gradient(135deg, rgba(254, 161, 22, 0.12) 0%, rgba(254, 161, 22, 0.05) 100%) !important;
    box-shadow: 0 4px 12px rgba(254, 161, 22, 0.1) !important;
}

.ingredient-row {
    background: white !important;
    padding: 1.75rem !important;
    border-radius: 10px !important;
    margin-bottom: 1rem !important;
    border: 2px solid #e1e8ed !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease;
    position: relative;
}

.ingredient-row:hover {
    border-color: #FEA116 !important;
    box-shadow: 0 8px 20px rgba(254, 161, 22, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Form Controls */
.form-group-row {
    background: linear-gradient(135deg, rgba(254, 161, 22, 0.08) 0%, rgba(254, 161, 22, 0.02) 100%) !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(254, 161, 22, 0.2) !important;
    box-shadow: 0 6px 18px rgba(254, 161, 22, 0.12) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1.5rem !important;
}

.form-group-row:hover {
    border-color: rgba(254, 161, 22, 0.45) !important;
    box-shadow: 0 10px 24px rgba(254, 161, 22, 0.18) !important;
    transform: translateY(-3px) !important;
}

.form-group-row input.form-control,
.form-group-row select.form-select,
.form-group-row textarea.form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid transparent !important;
    box-shadow: inset 0 1px 3px rgba(15, 23, 43, 0.08) !important;
}

.form-group-row input.form-control:hover,
.form-group-row select.form-select:hover,
.form-group-row textarea.form-control:hover {
    border-color: rgba(254, 161, 22, 0.35) !important;
}

.form-group-row textarea.form-control {
    min-height: 160px !important;
    padding-top: 1.75rem !important;
    line-height: 1.7 !important;
}

.save-dish-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.6rem 1.75rem !important;
    font-size: 0.95rem !important;
    border-radius: 999px !important;
    margin: 1.5rem auto 0 !important;
    box-shadow: 0 10px 24px rgba(254, 161, 22, 0.25) !important;
}

.save-dish-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(254, 161, 22, 0.35) !important;
}

.btn,
.btn-primary,
.btn-outline-primary,
.btn-outline-danger,
.btn-danger,
.btn-add,
.btn-remove {
    border-radius: 999px !important;
}

.form-control, .form-select {
    border: 2px solid #e1e8ed !important;
    border-radius: 8px !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    background-color: white !important;
    transition: all 0.3s ease;
    color: #333 !important;
    font-weight: 500 !important;
}

.form-control::placeholder {
    color: #bdc3c7 !important;
    font-weight: 400 !important;
}

.form-control:focus, .form-select:focus {
    border-color: #FEA116 !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(254, 161, 22, 0.15) !important;
    outline: none !important;
}

.form-select option {
    color: #333 !important;
    background-color: white !important;
}

.form-label {
    font-weight: 800 !important;
    color: #FEA116 !important;
    margin-bottom: 1rem !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    display: block !important;
    position: relative !important;
    padding-left: 0 !important;
    background: linear-gradient(135deg, #FEA116 0%, #FF8C00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.form-label span {
    color: #FF6B6B !important;
    font-weight: 900 !important;
    margin-left: 0.25rem !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.ingredient-label {
    font-size: 0.65rem !important;
    color: #FEA116 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
    letter-spacing: 0.12em !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 !important;
    }

    .footer .btn.btn-social {
        width: 36px !important;
        height: 36px !important;
        margin-right: 5px !important;
        font-size: 0.9rem !important;
    }

    .footer .btn.btn-link {
        font-size: 0.95rem !important;
    }

    .footer .copyright {
        padding: 1.5rem 0 !important;
        font-size: 0.9rem !important;
        text-align: center !important;
    }

    .footer .footer-menu {
        flex-direction: column !important;
    }

    .footer .footer-menu a {
        margin-right: 0 !important;
        padding-right: 0 !important;
        border-right: none !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Responsive Navigation for Small Screens */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 1rem !important;
    }

    .navbar-dark .navbar-collapse {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 1rem !important;
    }

    .hero-header {
        min-height: 250px !important;
    }

    .hero-header h1 {
        font-size: 1.5rem !important;
    }

    section {
        padding: 1.5rem 0 !important;
    }

    .btn {
        padding: 0.65rem 1rem !important;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    button, .btn, a.btn, input[type="button"], input[type="submit"] {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
    }
}

/* User Avatar Dropdown Styling */
.navbar-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    order: 1;
}

.navbar-avatar-dropdown {
    position: relative;
}

.user-profile-link {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-profile-link:hover {
    background-color: rgba(254, 161, 22, 0.1);
    transform: scale(1.05);
}

.user-profile-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(254, 161, 22, 0.5);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F1F8FF;
    background: linear-gradient(135deg, #FEA116, #F7931E);
    border: 2px solid rgba(254, 161, 22, 0.3);
    transition: all 0.3s ease;
}

.user-avatar.admin-avatar {
    background: linear-gradient(135deg, #DC3545, #C82333);
    border-color: rgba(220, 53, 69, 0.3);
}

.user-avatar.provider-avatar {
    background: linear-gradient(135deg, #28A745, #20C997);
    border-color: rgba(40, 167, 69, 0.3);
}

.user-avatar.customer-avatar {
    background: linear-gradient(135deg, #007BFF, #6610F2);
    border-color: rgba(0, 123, 255, 0.3);
}

.user-avatar.provider-avatar-fallback {
    background: linear-gradient(135deg, #6F42C1, #E83E8C);
    border-color: rgba(111, 66, 193, 0.3);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.avatar-dropdown-indicator {
    color: #F1F8FF;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-profile-link[aria-expanded="true"] .avatar-dropdown-indicator {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    background-color: rgba(15, 23, 43, 0.95);
    border: 1px solid rgba(254, 161, 22, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    min-width: 160px;
    right: 0;
    left: auto;
    margin-top: 8px;
    animation: slideDown 0.3s ease-in-out;
}

.user-dropdown-menu .dropdown-item {
    color: #F1F8FF;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 18px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown-menu .dropdown-item:hover,
.user-dropdown-menu .dropdown-item:focus {
    background-color: rgba(254, 161, 22, 0.15);
    color: #FEA116;
    border-left-color: #FEA116;
    padding-left: 22px;
    text-decoration: none;
}

.user-dropdown-menu .dropdown-item i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for user avatar dropdown */
@media (max-width: 991.98px) {
    .navbar-quick-actions {
        margin-left: 0;
        order: 2;
        margin-top: 1rem;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .user-avatar i,
    .user-avatar.provider-avatar-fallback i {
        font-size: 16px;
    }

    .user-dropdown-menu {
        min-width: 140px;
        right: -10px;
        left: auto;
    }

    .user-dropdown-menu .dropdown-item {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .navbar-quick-actions {
        margin-top: 0.5rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .user-avatar i,
    .user-avatar.provider-avatar-fallback i {
        font-size: 14px;
    }

    .user-dropdown-menu {
        min-width: 130px;
        max-width: 90vw;
    }

    .user-dropdown-menu .dropdown-item {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 44px;
    }
}