/* QR Menu Theme System - 12 Color Standard */
:root {
    /* GROUP 1: MAIN SECTION */
    --main-bg-color: #f9fafb;
    --main-title-color: #1f2937;
    --main-text-color: #6b7280;

    /* GROUP 2: CARD SECTION */
    --card-bg-color: #ffffff;
    --card-title-color: #1f2937;
    --card-text-color: #6b7280;
    --card-price-color: #dc2626;
    --card-border-color: transparent;
    --card-hover-border: rgba(220, 38, 38, 0.2);
    --card-shadow: rgba(31, 41, 55, 0.06);
    --card-hover-shadow: rgba(31, 41, 55, 0.12);

    /* GROUP 3: NAVIGATION */
    --nav-bg-color: #ffffff;
    --nav-button-color: #f8fafc;
    --nav-button-hover-color: rgba(220, 38, 38, 0.2);
    --nav-button-active-color: #dc2626;
    --nav-button-text-color: #6b7280;
    --nav-button-active-text: #ffffff;
    --nav-shadow: rgba(31, 41, 55, 0.1);
    --nav-count-bg: rgba(255, 255, 255, 0.25);

    /* GROUP 4: TAB SECTION */
    --tab-bg-color: #ffffff;
    --tab-text-color: #6b7280;
    --tab-hover-bg-color: rgba(220, 38, 38, 0.2);
    --tab-hover-text-color: #dc2626;

    /* SVG ICON FILTERS */
    --svg-filter-normal: brightness(0.5) sepia(0.3) saturate(1) hue-rotate(0deg);
    --svg-filter-hover: brightness(0.8) sepia(1) saturate(2) hue-rotate(-10deg);

    /* SYSTEM COLORS */
    --main-border-color: #e5e7eb;
    --modal-bg-color: #ffffff;
    --modal-overlay-color: rgba(31, 41, 55, 0.6);

    /* RGB VALUES for rgba() usage */
    --card-text-color-rgb: 107, 114, 128;
    --card-price-color-rgb: 220, 38, 38;
    --modal-border-color: #e5e7eb;
    --cover-overlay-color: rgba(220, 38, 38, 0.3);
    --notification-bg: linear-gradient(135deg, #1f2937, #374151);
    --notification-text: #ffffff;

    /* DIETARY ICON COLORS (Fixed) */
    --dietary-spicy: #ef4444;
    --dietary-vegan: #22c55e;
    --dietary-halal: #3b82f6;
    --dietary-gluten-free: #f59e0b;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-title-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Cover Image Styles */
.cover-section {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--card-price-color) 0%, var(--card-price-color) 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Cover section when no image */
.cover-section.no-image {
    height: 100px;
}

.cover-section.no-image img {
    display: none;
}


/* Header Styles - Logo Overlapping Cover */
.header {
    position: relative;
    background: transparent;
    padding: 0 16px 24px;
    margin-top: -40px;
    z-index: 10;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.restaurant-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--card-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--main-border-color);
}

.restaurant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    color: var(--card-price-color);
    font-size: 32px;
    font-weight: bold;
}

.restaurant-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--main-title-color);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Category Navigation Styles */
.category-nav {
    background: var(--nav-bg-color);
    box-shadow: 0 1px 3px var(--nav-shadow);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.categories-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 16px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    padding: 0px 10px;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 35px;
    background: var(--nav-button-color);
    color: var(--nav-button-text-color);
    border: 2px solid transparent;
}

.category-btn:hover {
    background: var(--nav-button-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--nav-shadow);
}

.category-btn.active {
    background: var(--nav-button-active-color);
    color: var(--nav-button-active-text);
    box-shadow: 0 6px 20px var(--nav-shadow);
}

.category-count {
    margin-left: 8px;
    background: var(--nav-count-bg);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

/* Main Content Styles */
.main-content {
    padding: 0px 0px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-section {
    padding: 20px 16px 40px;
}

.section-header {
    margin-bottom: 24px;
    text-align: center;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-title-color);
    margin-bottom: 8px;
}

.section-description {
    color: var(--main-text-color);
    font-size: 16px;
    font-style: italic;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Menu Item Styles - 5 Different Layouts */
.menu-item {
    background: var(--card-bg-color);
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--card-border-color);
}

.menu-item:hover {
    box-shadow: 0 8px 25px var(--card-hover-shadow);
    transform: translateY(-2px);
    border-color: var(--nav-bg-color);
}

/* Layout 1: Image Left */
.menu-item.layout-left .item-content {
    display: flex;
    padding: 20px;
    gap: 16px;
}

.menu-item.layout-left .item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg-color);
}

/* Layout 2: Image Right */
.menu-item.layout-right .item-content {
    display: flex;
    flex-direction: row-reverse;
    padding: 20px;
    gap: 16px;
}

.menu-item.layout-right .item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg-color);
}

/* Layout 3: Image Top */
.menu-item.layout-top .item-content {
    display: flex;
    flex-direction: column;
}

.menu-item.layout-top .item-image {
    width: 100%;
    height: 180px;
    background: var(--main-bg-color);
}

.menu-item.layout-top .item-details {
    padding: 20px;
}

/* Layout: Image Center (Full width image on top) */
.menu-item.layout-center .item-content {
    display: flex;
    flex-direction: column;
}

.menu-item.layout-center .item-image {
    width: 100%;
    height: 180px;
    background: var(--main-bg-color);
}

.menu-item.layout-center .item-details {
    padding: 20px;
}

/* Layout: No Image */
.menu-item.layout-none .item-content {
    display: flex;
    padding: 20px;
}

.menu-item.layout-none .item-details {
    width: 100%;
}

/* Layout 4: LTR (Left to Right) */
.menu-item.layout-ltr {
    direction: ltr;
}

.menu-item.layout-ltr .item-content {
    display: flex;
    padding: 20px;
    gap: 16px;
}

.menu-item.layout-ltr .item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg-color);
}

.menu-item.layout-ltr .item-details {
    text-align: left;
}

/* Layout 5: RTL (Right to Left) */
.menu-item.layout-rtl {
    direction: rtl;
}

.menu-item.layout-rtl .item-content {
    display: flex;
    padding: 20px;
    gap: 16px;
}

.menu-item.layout-rtl .item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg-color);
}

.menu-item.layout-rtl .item-details {
    text-align: right;
}

.menu-item.layout-rtl .item-footer {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.menu-item.layout-rtl .item-price {
    order: 2;
}

.menu-item.layout-rtl .dietary-icons {
    order: 1;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--main-text-color);
    font-size: 36px;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--card-title-color);
    line-height: 1.4;
    flex: 1;
}

.item-description {
    color: var(--card-text-color);
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 5px;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--card-price-color);
}

/* Dietary Icons */
.dietary-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dietary-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.dietary-icon.spicy {
    background: var(--dietary-spicy);
}

.dietary-icon.vegan {
    background: var(--dietary-vegan);
}

.dietary-icon.halal {
    background: var(--dietary-halal);
}

.dietary-icon.gluten-free {
    background: var(--dietary-gluten-free);
}

/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg-color);
    border-top: 1px solid var(--main-border-color);
    box-shadow: 0 -4px 20px var(--nav-shadow);
    z-index: 50;
    display: flex;
    justify-content: space-around;
    padding: 16px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nav-button-text-color);
    transition: all 0.2s ease;
    min-width: 60px;
    padding: 8px;
    border-radius: 12px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--card-price-color);
    background: var(--nav-button-hover-color);
}

.nav-item-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 600;
}

/* Product Modal Styles */
.product-modal {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay-color);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--modal-bg-color);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-image {
    width: 100%;
    height: auto;
    background: var(--main-bg-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-info {
    padding: 24px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--card-title-color);
    flex: 1;
}

.modal-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--card-price-color);
    margin-left: 16px;
}

.modal-description {
    color: var(--card-text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-divider {
    height: 1px;
    background: var(--modal-border-color);
    margin: 24px 0;
}

.dietary-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--card-title-color);
    margin-bottom: 8px;
}

.dietary-info-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.dietary-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dietary-item span {
    color: var(--card-text-color);
    font-size: 14px;
}

/* Language Modal Styles */
.language-modal {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay-color);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-modal.active {
    opacity: 1;
    visibility: visible;
}

.language-modal .modal-content {
    background: var(--modal-bg-color);
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: none;
}

.language-modal.active .modal-content {
    transform: translateY(0);
}

.language-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--modal-border-color);
}

.language-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--card-title-color);
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--card-text-color);
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background: var(--nav-button-hover-color);
}

.language-list {
    padding: 0;
}

.language-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--card-text-color);
    transition: background-color 0.2s ease;
    border-right: 4px solid transparent;
}

.language-item:hover {
    background: var(--nav-button-hover-color);
}

.language-item.active {
    background: #f9fafb;
    border-right-color: var(--card-price-color);
    color: var(--card-price-color);
}

.language-flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.language-footer {
    padding: 16px 24px;
}

.cancel-btn {
    width: 100%;
    background: var(--nav-button-color);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--nav-button-text-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cancel-btn:hover {
    background: var(--nav-button-hover-color);
}

/* Responsive Design */
/* Mobile-first approach for cover section */
@media (max-width: 480px) {
    .cover-section {
        height: 160px;
    }

    .cover-section.no-image {
        height: 45px;
    }

    .cover-section img {
        object-position: center center;
    }

    .header {
        margin-top: -30px;
    }

    .restaurant-logo {
        width: 80px;
        height: 80px;
    }

    .restaurant-name {
        font-size: 20px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .cover-section {
        height: 180px;
    }

    .cover-section img {
        object-position: center center;
    }

    .header {
        margin-top: -35px;
    }

    .restaurant-logo {
        width: 90px;
        height: 90px;
    }

    .restaurant-name {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .cover-section {
        height: 300px;
    }

    .header {
        margin-top: -60px;
    }

    .restaurant-logo {
        width: 120px;
        height: 120px;
    }

    .menu-items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 24px;
    }

    .bottom-nav {
        position: relative;
        box-shadow: none;
        border-top: none;
        border-bottom: 1px solid var(--main-border-color);
        justify-content: center;
        gap: 80px;
        margin-bottom: 0;
    }

    .main-content {
        padding-bottom: 90px;
    }
}

@media (min-width: 1200px) {
    .cover-section {
        height: 400px;
    }

    .header {
        margin-top: -80px;
    }

    .restaurant-logo {
        width: 140px;
        height: 140px;
    }

    .restaurant-name {
        font-size: 26px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Layout 2: Image Right */
.menu-item.layout-right .item-content {
    display: flex;
    flex-direction: row-reverse;
    padding: 20px;
    gap: 16px;
}
.menu-item.layout-right .item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg-color);
}
.menu-item.layout-right .item-info {
    flex: 1;
    text-align: right;
}
.menu-item.layout-right .item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--card-title-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-item.layout-right .item-description {
    font-size: 14px;
    color: var(--card-text-color);
    line-height: 1.4;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-item.layout-right .item-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}
.menu-item.layout-right .item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--card-price-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Error States */
.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Scroll Lock */
.scroll-lock {
    overflow: hidden !important;
}

/* Scroll Target */
.scroll-target {
    scroll-margin-top: 70px;
}

/* ===== TAB MENU ===== */
.tabmenu-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tab-bg-color);
    z-index: 50;
    box-shadow: 0 -4px 20px var(--nav-shadow);
}

.tabmenu-navbar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.tabmenu-icon {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
}

.tabmenu-icon svg {
    height: 22px;
    width: auto;
    transition: all 0.3s ease;
}

.tabmenu-icon:hover {
    background-color: var(--tab-hover-bg-color);
    transform: scale(1.03);
}

.tabmenu-icon:hover img {
    filter: var(--svg-filter-hover) !important;
}

.tabmenu-icon img {
    margin-bottom: 0px;
    display: block;
    height: 22px;
    /* SVG renklendirme için filter kullan */
    filter: var(--svg-filter-normal);
    transition: all 0.3s ease;
}

.tabmenu-plus-icon {
    width: 22px;
    filter: var(--svg-filter-normal);
    transition: all 0.3s ease;
}

/* Language Button in Tab Menu - Fixed Flag */
.tabmenu-language-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--nav-button-color);
    z-index: 100;
    box-shadow: 0 5px 15px var(--nav-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.tabmenu-language-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 8px 20px var(--nav-shadow);
}

.tabmenu-language-btn:disabled {
    cursor: not-allowed;
}

.tabmenu-language-btn:disabled:hover {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 5px 15px var(--nav-shadow);
}

.tabmenu-flag-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.tabmenu-circleBackground {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;
    height: 65px;
    width: 65px;
    border-radius: 50px;
    background-color: #f4f4f4;
    z-index: 55;
}

/* ===== REVIEW PAGE ===== */
.review-page {
    min-height: 100vh;
    background: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    padding-bottom: 90px;
}

.review-header {
    padding: 60px 20px 40px;
    text-align: center;
    color: var(--main-title-color);
}

.review-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.review-main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--main-title-color);
}

.review-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    color: var(--main-text-color);
}

.review-content {
    flex: 1;
    padding: 0 20px 0px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modern-review-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
    background: #ffffff !important;
    margin: 0rem auto;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--card-shadow);
    font-family: var(--font-family, "Arial", sans-serif);
}

.modern-review-form {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-review-form:hover {
    box-shadow: 0 25px 50px var(--card-hover-shadow);
}

.review-questions-section {
    padding: 32px 24px 24px;
    background: #ffffff;
}

.modern-review-question {
    margin-bottom: 28px;
    text-align: center;
}

.modern-review-question:last-child {
    margin-bottom: 0;
}

.modern-review-question h4 {
    color: var(--card-title-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.star-rating-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ReviewForm-star {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
}

.ReviewForm-star:hover {
    transform: scale(1.1);
}

.review-input-section {
    padding: 32px 24px;
    background: #ffffff;
}

.modern-review-textarea {
    width: 100%;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    font-size: 1rem;
    color: var(--card-text-color);
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-review-textarea:focus {
    outline: none;
    border-color: var(--card-price-color);
    box-shadow: 0 0 0 3px var(--nav-button-hover-color);
}

.modern-review-textarea::placeholder {
    color: var(--main-text-color);
    opacity: 0.7;
}

.feedback-toggle {
    margin: 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.feedback-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.feedback-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.feedback-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main-border-color);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feedback-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

input:checked + .feedback-toggle-slider {
    background-color: var(--card-price-color);
}

input:checked + .feedback-toggle-slider:before {
    transform: translateX(26px);
}

.feedback-toggle-label {
    color: var(--card-text-color);
    font-weight: 500;
    cursor: pointer;
}

.feedback-inputs {
    display: none;
    margin-top: 24px;
    gap: 20px;
}

.feedback-inputs.active {
    display: flex;
    flex-direction: column;
}

.modern-review-input {
    width: 100%;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--card-text-color);
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-review-input:focus {
    outline: none;
    border-color: var(--card-price-color);
    box-shadow: 0 0 0 3px var(--nav-button-hover-color);
}

.modern-review-input::placeholder {
    color: var(--main-text-color);
    opacity: 0.7;
}

.modern-review-submit {
    width: 100%;
    background: var(--tab-bg-color);
    color: var(--tab-text-color);
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.modern-review-submit:hover {
    background: var(--tab-hover-bg-color);
    color: var(--tab-hover-text-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nav-shadow);
}

.modern-review-submit:disabled {
    background: var(--main-border-color);
    color: var(--main-text-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.required-star {
    color: var(--card-price-color);
    font-weight: bold;
    margin-left: 4px;
}

.review-footer {
    padding: 24px 20px;
    text-align: center;
    background: var(--card-bg-color);
    border-top: 1px solid var(--main-border-color);
}

.review-footer .copy {
    color: var(--main-text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Review Mobile Responsive */
@media (max-width: 768px) {
    .review-main-title {
        font-size: 2rem;
    }

    .review-subtitle {
        font-size: 1rem;
    }

    .review-header {
        padding: 40px 20px 30px;
    }

    .modern-review-form {
        border-radius: 20px;
        margin: 0 10px;
    }

    .review-questions-section,
    .review-input-section {
        padding: 24px 20px;
    }

    .ReviewForm-star {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .review-main-title {
        font-size: 1.75rem;
    }

    .modern-review-form {
        margin: 0 5px;
        border-radius: 16px;
    }

    .review-questions-section,
    .review-input-section {
        padding: 20px 16px;
    }

    .ReviewForm-star {
        width: 24px;
        height: 24px;
    }

    .modern-review-submit {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* Thank You page styles - START */
.information-container {
    text-align: center;
    background: #ffffff;
    max-width: 338px;
    margin: 100px auto 0 auto;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--card-shadow);
    font-family: var(--font-family, "Arial", sans-serif);
}

img.information-logo-image {
    width: 190px;
    margin: 20px auto 0px auto;
    display: block;
}

h1.information-title {
    font-size: 60px;
    color: var(--card-title-color);
}

p.information-text {
    padding: 20px 0px;
    color: var(--card-text-color);
}

h2.information-sub-title {
    font-size: 18px;
    margin: 0px 0px 0px 0px;
    color: var(--card-text-color);
}

p.information-phone {
    font-weight: 600;
    color: var(--card-text-color);
    font-size: 14px;
    margin: 10px 0px 20px 0px;
}

.back-to-menu-btn {
    background: var(--nav-button-active-color);
    color: var(--nav-button-active-text);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-menu-btn:hover {
    background: var(--tab-hover-bg-color);
    color: var(--tab-hover-text-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nav-shadow);
}

.copy{
    text-align: center;
    margin-top: 25px;
}

/* ReviewFormComponent missing styles - START */
.review-input-section {
    padding: 24px;
    /* background: var(--card-bg-color); */
    border-top: 1px solid rgba(var(--card-text-color-rgb), 0.1);
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--card-title-color);
    margin-bottom: 8px;
}

.modern-input,
.modern-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(var(--card-text-color-rgb), 0.15);
    border-radius: 12px;
    background: #f4f4f4 !important;
    color: var(--card-text-color);
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-input:focus,
.modern-textarea:focus {
    outline: none;
    border-color: var(--card-price-color);
    box-shadow: 0 0 0 3px rgba(var(--card-price-color-rgb), 0.1);
}

.modern-textarea {
    resize: vertical;
    min-height: 80px;
}

.feedback-toggle {
    margin: 24px 0;
    text-align: center;
}

.toggle-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--card-text-color);
    gap: 12px;
}

.toggle-input {
    position: relative;
    appearance: none;
    width: 48px;
    height: 24px;
    background: rgba(var(--card-text-color-rgb), 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-input:checked {
    background: #1bb700;
}

.toggle-input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-input:checked::before {
    transform: translateX(24px);
}

.toggle-slider {
    display: none; /* Hide since we're using ::before for the slider */
}

.contact-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--card-text-color-rgb), 0.1);
}

.modern-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--card-price-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--card-price-color-rgb), 0.3);
}

.modern-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loading,
.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-icon {
    font-size: 18px;
}

.validation-message {
    background: rgba(var(--card-price-color-rgb), 0.1);
    color: var(--card-price-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    text-align: center;
    border: 1px solid rgba(var(--card-price-color-rgb), 0.2);
}

.validation-alert {
    background: #dc2626;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    animation: shake 0.5s ease-in-out;
}

.validation-alert .required-star {
    color: #ffffff;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.required-star {
    color: var(--card-price-color);
    font-weight: bold;
}

.question-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--card-title-color);
    margin-bottom: 12px;
    text-align: center;
}

/* Review Submit Button - Tab Theme Colors */
.review-submit-btn {
    width: 100%;
    background: var(--tab-bg-color);
    color: var(--tab-text-color);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.review-submit-btn:hover:not(:disabled) {
    background: var(--tab-hover-bg-color);
    color: var(--tab-hover-text-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nav-shadow);
}

.review-submit-btn:disabled {
    background: var(--tab-bg-color);
    color: var(--tab-text-color);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .review-input-section {
        padding: 20px 16px;
    }

    .modern-input,
    .modern-textarea {
        padding: 10px 14px;
    }

    .modern-submit-btn {
        padding: 14px 20px;
        min-height: 52px;
    }

    .review-submit-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* ReviewFormComponent missing styles - END */