/* What To Eat? - Styles */

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #2d3436;
    --accent: #00b894;
    --accent-alt: #0984e3;
    --bg: #f8f9fa;
    --bg-card: #ffffff;
    --text: #2d3436;
    --text-light: #636e72;
    --border: #dfe6e9;
    --shadow: rgba(0, 0, 0, 0.1);
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Panel */
.search-panel {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

.search-panel h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-form input,
.search-form select {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus,
.search-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form button {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.search-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Results Grid */
.results-grid,
.menu-grid,
.requests-grid,
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Orders List (Client Dashboard) */
.orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Card Styles */
.result-card,
.menu-item,
.request-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card:hover,
.menu-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.result-card::before,
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.provider-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.food-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.food-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.meal-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.detail-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-tag.price {
    background: #e8f5e9;
    color: #2e7d32;
}

.detail-tag.servings {
    background: #fff3e0;
    color: #e65100;
}

.detail-tag.time {
    background: #e3f2fd;
    color: #1565c0;
}

.detail-tag.status-247 {
    background: #e8f5e9;
    color: #2e7d32;
}

.detail-tag.status-open {
    background: #e3f2fd;
    color: #1565c0;
}

.detail-tag.status-closed {
    background: #ffebee;
    color: #c62828;
}

.detail-tag.after-hours {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Contact Button */
.contact-btn {
    margin-top: 1rem;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* Provider Panel */
.provider-panel,
.client-panel,
.requests-panel {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

.provider-panel h2,
.requests-panel h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.provider-panel h3,
.requests-panel h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Forms */
#menuForm,
#requestForm,
#contactForm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

#menuForm input,
#menuForm textarea,
#menuForm select,
#requestForm input,
#requestForm textarea,
#contactForm input,
#contactForm textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

#menuForm input:focus,
#menuForm textarea:focus,
#requestForm input:focus,
#requestForm textarea:focus,
#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#menuForm button,
#requestForm button,
#contactForm button {
    grid-column: 1 / -1;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

#menuForm button:hover,
#requestForm button:hover,
#contactForm button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Checkbox & Time Groups */
.checkbox-group,
.time-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-group label,
.time-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.time-group input[type="time"] {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 100px;
    width: auto;
}

/* Time Group - Better layout for Operating Hours */
.time-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.time-group > label {
    font-weight: 600;
    color: var(--text);
    margin-right: 4px;
}

.time-group input[type="time"] {
    flex: 0 0 auto;
}

.time-group .time-separator {
    font-weight: 500;
    color: var(--text-light);
    margin: 0 4px;
}

/* Menu Item Specific */
.menu-item .food-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.menu-item .delete-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.menu-item .delete-btn:hover {
    background: #b71c1c;
}

/* Request Card */
.request-card {
    border-left: 4px solid var(--accent);
}

.request-card .request-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.request-card .request-food {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.request-card .request-details {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.direct-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

.direct-contact h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#directContactButtons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-direct-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.contact-direct-btn.call {
    background: var(--accent);
    color: white;
}

.contact-direct-btn.call:hover {
    background: #009975;
}

.contact-direct-btn.email {
    background: var(--accent-alt);
    color: white;
}

.contact-direct-btn.email:hover {
    background: #0773c5;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

footer p {
    opacity: 0.9;
}

/* ==================== MOBILE-FRIENDLY RESTRUCTURE STYLES ==================== */

/* Header - Compact on Mobile */
@media (max-width: 480px) {
    header {
        padding: 1rem 0;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header p {
        font-size: 0.85rem;
        display: none;
    }
    
    header p:first-of-type {
        display: block;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    header h1 {
        font-size: 1.3rem;
    }
    
    .user-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Provider Dashboard - Vertical Tabs */
.provider-dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.provider-dashboard-tab {
    flex: 1;
    min-width: calc(50% - 8px);
    padding: 12px 16px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.provider-dashboard-tab:hover {
    border-color: var(--primary);
    color: var(--text);
}

.provider-dashboard-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* 3 tabs per row on larger mobile */
@media (min-width: 500px) {
    .provider-dashboard-tab {
        min-width: calc(33.333% - 8px);
    }
}

@media (min-width: 768px) {
    .provider-dashboard-tabs {
        flex-wrap: nowrap;
    }
    
    .provider-dashboard-tab {
        min-width: auto;
        flex: 1;
        padding: 14px 20px;
    }
}

/* Panel Sections */
.dashboard-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dashboard-panel.active {
    display: block;
}

/* Collapsible Form */
.collapsible-form {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.collapsible-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg);
    cursor: pointer;
    transition: background 0.3s ease;
}

.collapsible-form-header:hover {
    background: var(--border);
}

.collapsible-form-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
    border: none;
    padding: 0;
}

.collapsible-form-header .toggle-icon {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.collapsible-form-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.collapsible-form-content {
    padding: 1.5rem;
    display: block;
    max-height: none;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.collapsible-form-content.collapsed {
    display: none;
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
}

/* Client Dashboard Tabs */
.client-dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.client-dashboard-tab {
    flex: 1;
    min-width: calc(50% - 8px);
    padding: 12px 16px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.client-dashboard-tab:hover {
    border-color: var(--primary);
    color: var(--text);
}

.client-dashboard-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

@media (min-width: 500px) {
    .client-dashboard-tab {
        min-width: calc(25% - 8px);
    }
}

@media (min-width: 768px) {
    .client-dashboard-tabs {
        flex-wrap: nowrap;
    }
    
    .client-dashboard-tab {
        flex: 1;
    }
}

/* Mobile Search Form - Stacked */
@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-form input,
    .search-form select {
        width: 100%;
        min-width: 100%;
    }
    
    .search-form button {
        width: 100%;
    }
}

/* Mobile Form Fields */
@media (max-width: 600px) {
    #menuForm,
    #requestForm,
    #contactForm {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .auth-form form {
        grid-template-columns: 1fr;
    }
    
    .custom-request-section form {
        grid-template-columns: 1fr;
    }
}

/* Mobile Cards - Full Width */
@media (max-width: 480px) {
    .results-grid,
    .menu-grid,
    .requests-grid,
    .orders-grid,
    .orders-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .result-card,
    .menu-item,
    .request-card,
    .order-card,
    .provider-order-card {
        padding: 1rem;
    }
    
    .result-card .provider-name,
    .menu-item .provider-name {
        font-size: 0.9rem;
    }
    
    .result-card .food-name,
    .menu-item .food-name {
        font-size: 1.1rem;
    }
}

/* Mobile Action Buttons */
@media (max-width: 480px) {
    .contact-btn,
    .order-action-btn {
        width: 100%;
        text-align: center;
    }
    
    .menu-item .menu-item-actions {
        display: flex;
        gap: 8px;
        margin-top: 0.75rem;
    }
    
    .menu-item .edit-btn,
    .menu-item .delete-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .dashboard-header > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .dashboard-header .edit-profile-btn,
    .dashboard-header .logout-btn {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }
}

/* Mobile Modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
}

/* Servings Adjust - Mobile Compact */
@media (max-width: 400px) {
    .servings-adjust {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .servings-label {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .servings-input {
        width: 60px;
    }
}

/* Order Progress - Mobile */
@media (max-width: 480px) {
    .order-progress {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .progress-step {
        min-width: 50px;
    }
    
    .progress-step .step-dot {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .progress-step .step-label {
        font-size: 0.65rem;
    }
}

/* History & Sales Summary - Mobile */
@media (max-width: 480px) {
    .history-summary,
    .sales-summary {
        grid-template-columns: 1fr 1fr;
    }
    
    .history-summary .summary-stat,
    .sales-summary .summary-stat {
        padding: 10px;
    }
    
    .history-summary .stat-value,
    .sales-summary .stat-value {
        font-size: 1.2rem;
    }
}

/* Auth Forms - Mobile */
@media (max-width: 480px) {
    .auth-toggle {
        flex-direction: column;
    }
    
    .auth-toggle-btn {
        width: 100%;
    }
    
    .auth-form {
        padding: 1rem;
    }
}

/* Main Tabs - Responsive */
@media (max-width: 600px) {
    .tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* Tab Content - Ensure proper display */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Portion Sizes - Mobile */
@media (max-width: 480px) {
    .portion-inputs {
        flex-direction: column;
    }
    
    .portion-inputs input {
        width: 100%;
    }
    
    .portion-inputs button {
        width: 100%;
    }
    
    .portion-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .portion-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }
}

/* Delivery Options - Mobile */
@media (max-width: 480px) {
    .delivery-options .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-group label {
        width: 100%;
    }
}

/* Time Group - Mobile */
@media (max-width: 480px) {
    .time-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .time-group label {
        width: 100%;
        justify-content: flex-start;
    }
    
    .time-group input[type="time"] {
        width: 100%;
    }
    
    .time-group .time-separator {
        display: none;
    }
    
    .time-group .time-range {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .time-group .time-range input[type="time"] {
        flex: 1;
        min-width: 0;
    }
}

/* Dashboard Empty State */
.dashboard-empty {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px dashed var(--border);
}

.dashboard-empty p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Section Headers */
.form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    margin: -1.5rem -1.5rem 1.5rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.form-section-header h3 {
    margin: 0;
    color: var(--text);
    border: none;
    padding: 0;
}

.form-section-header .toggle-icon {
    transition: transform 0.3s ease;
}

.form-section-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Edit Profile Form - Mobile */
@media (max-width: 480px) {
    .edit-profile-form {
        padding: 1rem;
    }
    
    .edit-profile-form form {
        grid-template-columns: 1fr;
    }
    
    .edit-profile-form button {
        width: 100%;
    }
    
    .save-profile-btn,
    .cancel-edit-btn {
        width: 100%;
        margin-top: 8px;
    }
}

/* Rating Summary - Mobile Clickable */
@media (max-width: 480px) {
    .rating-summary {
        padding: 8px 12px;
    }
    
    .rating-summary .avg-rating {
        font-size: 1rem;
    }
    
    .rating-summary .review-count {
        font-size: 0.8rem;
    }
}

/* Order Status Badge - Mobile */
@media (max-width: 480px) {
    .order-status-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .order-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Custom Request - Mobile */
@media (max-width: 480px) {
    .custom-request-section {
        padding-top: 1rem;
    }
    
    .custom-request-section h3,
    .custom-request-section h4 {
        font-size: 1.1rem;
    }
    
    .custom-request-section input,
    .custom-request-section textarea {
        padding: 10px 12px;
    }
    
    .custom-request-section button {
        padding: 12px 20px;
    }
}

/* History Date Filter - Mobile */
@media (max-width: 480px) {
    .history-date-filter,
    .sales-date-filter {
        flex-direction: column;
        gap: 8px;
    }
    
    .history-date-filter input,
    .sales-date-filter input {
        width: 100%;
    }
}

/* Direct Contact Buttons - Mobile */
@media (max-width: 480px) {
    #directContactButtons {
        flex-direction: column;
    }
    
    .contact-direct-btn {
        width: 100%;
    }
}

/* Reviews - Mobile */
@media (max-width: 480px) {
    .review-card {
        padding: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .review-rating .star {
        font-size: 1rem;
    }
}

/* Enhanced Responsive for Tablets (768px+) */
@media (min-width: 768px) and (max-width: 1024px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .results-grid,
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .provider-dashboard-tab,
    .client-dashboard-tab {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .results-grid,
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== LEGACY RESPONSIVE (Keep for compatibility) ==================== */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form input,
    .search-form select {
        width: 100%;
    }
    
    #menuForm,
    #requestForm,
    #contactForm {
        grid-template-columns: 1fr;
    }
    
    .results-grid,
    .menu-grid,
    .requests-grid {
        grid-template-columns: 1fr;
    }
    
    #directContactButtons {
        flex-direction: column;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state p {
    font-size: 1.1rem;
}

/* Photo Upload Styles */
.photo-upload {
    grid-column: 1 / -1;
}

.photo-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.photo-upload input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--border);
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.photo-preview {
    margin-top: 10px;
    min-height: 60px;
}

.photo-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

/* User Badge in Header */
.user-info {
    margin-top: 1rem;
}

.user-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Registration Buttons */
.register-btn,
.login-btn {
    grid-column: 1 / -1;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.register-btn:hover,
.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.login-btn {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.login-btn:hover {
    background: #009975;
}

/* Auth Toggle Buttons */
.auth-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.auth-toggle-btn {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.auth-toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Auth Form Container */
.auth-form {
    margin-top: 1rem;
}

.auth-form h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.auth-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Login Button */
.login-btn {
    grid-column: 1 / -1;
    padding: 16px 32px;
    background: var(--accent-alt);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.3);
}

.login-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Auth Toggle Buttons */
.auth-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.auth-toggle-btn {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-toggle-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.auth-toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Auth Form Container */
.auth-form {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.auth-form h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.auth-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Auth Form Styling */
.auth-form form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.auth-form input,
.auth-form select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.dashboard-header h2 {
    margin: 0;
}

.logout-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #b71c1c;
}

/* Country Selector Styling */
#clientCountry,
#providerCountry {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

#clientCountry:focus,
#providerCountry:focus {
    outline: none;
    border-color: var(--primary);
}

/* Auth Toggle Buttons */
.auth-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.auth-toggle-btn {
    flex: 1;
    padding: 12px 24px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

.auth-toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Auth Form Container */
.auth-form {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.auth-form h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.auth-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Login Button */
.login-btn {
    grid-column: 1 / -1;
    padding: 16px 32px;
    background: var(--accent-alt);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.3);
}

.login-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Form Grid Adjustments */
#clientLoginForm,
#providerLoginForm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

#clientLoginForm input,
#providerLoginForm input,
#clientLoginForm select,
#providerLoginForm select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#clientLoginForm input:focus,
#providerLoginForm input:focus,
#clientLoginForm select:focus,
#providerLoginForm select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Meal Photo in Result Card */
.meal-photo {
    margin-bottom: 1rem;
    text-align: center;
}

.meal-photo img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

/* Ingredients/Allergens Info */
.ingredients-info {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #e65100;
}

.ingredients-info strong {
    display: block;
    margin-bottom: 4px;
}

/* Drinks Info */
.drinks-info {
    background: #e3f2fd;
    border: 1px solid #64b5f6;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #1565c0;
}

.drinks-info strong {
    display: block;
    margin-bottom: 4px;
}

/* Drinks Section in Form */
.drinks-section {
    grid-column: 1 / -1;
}

.drinks-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--danger);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Star Rating Styles */
.rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: #dfe6e9;
    cursor: default;
    transition: color 0.2s ease;
}

.rating-stars .star.filled {
    color: #f39c12;
}

.rating-stars .star.hover {
    color: #f1c40f;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 8px;
}

/* Clickable Star Rating Form */
.rating-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

.rating-form h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.rating-form .rating-stars {
    cursor: pointer;
}

.rating-form .rating-stars .star:hover {
    color: #f1c40f;
}

.rating-form textarea {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.rating-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.rating-form button {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-form button:hover {
    background: #009975;
}

/* Review Card */
.review-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-author {
    font-weight: 600;
    color: var(--text);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.review-rating .star {
    font-size: 1.1rem;
    color: #dfe6e9;
}

.review-rating .star.filled {
    color: #f39c12;
}

.review-comment {
    color: var(--text);
    line-height: 1.5;
}

/* Reviews Section */
.reviews-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

.reviews-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.reviews-list {
    max-height: 300px;
    overflow-y: auto;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Rating Summary in Search Results */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding: 10px 14px;
    background: #fff9c4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-summary:hover {
    background: #fff59d;
    transform: translateY(-2px);
}

.rating-summary .avg-rating {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f39c12;
}

.rating-summary .review-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Order Card Styles (Client Dashboard) */
.order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.order-provider {
    font-weight: 600;
    color: var(--primary);
}

.order-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-food {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.order-message {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.order-status {
    margin-top: 0.5rem;
}

/* Last Updated Timestamp */
.last-updated {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.last-updated small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Delivery Tags */
.delivery-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.delivery-tag.delivery {
    background: #e8f5e9;
    color: #2e7d32;
}

.delivery-tag.pickup {
    background: #e3f2fd;
    color: #1565c0;
}

.delivery-tag.both {
    background: #fff3e0;
    color: #e65100;
}

/* Delivery Options in Menu Form */
.delivery-options {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.delivery-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-options .checkbox-group {
    display: flex;
    gap: 20px;
}

.delivery-options .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* Delivery Selection in Contact Modal */
.delivery-pickup-group {
    margin-bottom: 1rem;
}

.delivery-pickup-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-pickup-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.delivery-pickup-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Delivery Tags */
.delivery-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.delivery-tag.delivery {
    background: #e3f2fd;
    color: #1565c0;
}

.delivery-tag.pickup {
    background: #fff3e0;
    color: #e65100;
}

.delivery-tag.both {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Delivery Option in Menu Form */
.delivery-option {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    padding: 15px;
    background: var(--bg);
    border-radius: 8px;
    margin-bottom: 10px;
}

.delivery-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.delivery-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* Delivery/Pickup Selection in Contact Modal */
.delivery-choice-group {
    grid-column: 1 / -1;
    margin: 15px 0;
}

.delivery-choice-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.delivery-choice-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.delivery-choice-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Custom Request Section in Client Dashboard */
.client-custom-request {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.client-custom-request h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.client-custom-request form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 1.5rem;
}

.client-custom-request input,
.client-custom-request textarea {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.client-custom-request input:focus,
.client-custom-request textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.client-custom-request button {
    grid-column: 1 / -1;
    padding: 14px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.client-custom-request button:hover {
    background: #009975;
}

/* Delivery Option Tags */
.delivery-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.delivery-tag.delivery {
    background: #e3f2fd;
    color: #1565c0;
}

.delivery-tag.pickup {
    background: #fff3e0;
    color: #e65100;
}

.delivery-tag.both {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Delivery Options in Form */
.delivery-options {
    grid-column: 1 / -1;
    margin: 10px 0;
}

.delivery-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-options .checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Delivery Choice in Modal */
.delivery-choice {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

.delivery-choice label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-choice select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

/* Custom Request Section in Client Dashboard */
.custom-request-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.custom-request-section h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.custom-request-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.custom-request-section h4 {
    color: var(--text);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

/* Delivery Tags */
.delivery-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.delivery-tag.delivery {
    background: #e8f5e9;
    color: #2e7d32;
}

.delivery-tag.pickup {
    background: #fff3e0;
    color: #e65100;
}

.delivery-tag.both {
    background: #e3f2fd;
    color: #1565c0;
}

/* Delivery Options in Menu Form */
.delivery-options {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.delivery-options > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-choice {
    grid-column: 1 / -1;
}

.delivery-choice label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-choice select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.delivery-choice select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Custom Request Section (Client Dashboard) */
.custom-request-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.custom-request-section h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.custom-request-section h4 {
    color: var(--text);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.custom-request-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.custom-request-section form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.custom-request-section input,
.custom-request-section textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.custom-request-section input:focus,
.custom-request-section textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.custom-request-section button {
    grid-column: 1 / -1;
    padding: 16px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-request-section button:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* ==================== SUBSCRIPTION PLANS CONFIGURATION (SUPER ADMIN) ==================== */
.add-plan-section {
    margin-bottom: 20px;
}

.add-plan-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-plan-btn:hover {
    background: #e55a2b;
}

.subscription-plan-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #ff6b35;
}

.subscription-plan-form h4 {
    margin-top: 0;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.save-plan-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.save-plan-btn:hover {
    background: #218838;
}

.cancel-plan-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.cancel-plan-btn:hover {
    background: #5a6268;
}

.subscription-plans-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.subscription-plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.subscription-plan-card.active-plan {
    border-left: 4px solid #28a745;
}

.subscription-plan-card.inactive-plan {
    border-left: 4px solid #dc3545;
    opacity: 0.7;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.plan-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b35;
}

.plan-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.plan-badge.active {
    background: #d4edda;
    color: #155724;
}

.plan-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.plan-details {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.plan-features {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
}

.plan-actions {
    display: flex;
    gap: 10px;
}

.plan-actions .edit-btn,
.plan-actions .delete-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
}

.plan-actions .edit-btn {
    background: #17a2b8;
    color: white;
}

.plan-actions .edit-btn:hover {
    background: #138496;
}

.plan-actions .delete-btn {
    background: #dc3545;
    color: white;
}

.plan-actions .delete-btn:hover {
    background: #c82333;
}

/* ==================== SUBSCRIPTION MANAGEMENT STYLES ==================== */
.sub-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.sub-status-badge.pending {
    background-color: #ff9800;
    color: white;
}

.sub-status-badge.approved {
    background-color: #4caf50;
    color: white;
}

.sub-status-badge.rejected {
    background-color: #f44336;
    color: white;
}

.sub-status-badge.suspended {
    background-color: #9e9e9e;
    color: white;
}

.sub-status-badge.expired {
    background-color: #ff5722;
    color: white;
}

.subscription-item {
    border-left: 4px solid #2196F3;
}

.subscription-item .sub-details {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
}

.subscription-item .sub-details.rejection,
.subscription-item .sub-details.suspension {
    background: #ffebee;
    color: #c62828;
}

.subscription-item .admin-item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.approve-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.approve-btn:hover {
    background-color: #388e3c;
}

.reject-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.reject-btn:hover {
    background-color: #c62828;
}

.suspend-btn {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.suspend-btn:hover {
    background-color: #f57c00;
}

.renew-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.renew-btn:hover {
    background-color: #1976D2;
}

/* ========================================
   ADMIN PANEL STYLES 
   ======================================== */

.admin-panel .auth-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-panel .auth-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.admin-panel .auth-form p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.admin-panel input[type="text"],
.admin-panel input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.admin-panel .login-btn {
    width: 100%;
    padding: 12px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-panel .login-btn:hover {
    background: #1a252f;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-header h2 {
    margin: 0;
    color: #333;
}

.dashboard-header .logout-btn {
    padding: 8px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dashboard-header .logout-btn:hover {
    background: #c0392b;
}

/* Admin Panel Tabs */
.admin-panel-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-panel-tab {
    padding: 10px 20px;
    background: #ecf0f1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.admin-panel-tab.active {
    background: #2c3e50;
    color: white;
}

.admin-panel-tab:hover:not(.active) {
    background: #bdc3c7;
}

/* Admin Panel Sections */
.admin-panel-section {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-panel-section.active {
    display: block;
}

/* Admin Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

/* Admin List Items */
.admin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-item-name {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.admin-item-type {
    font-size: 14px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 4px 10px;
    border-radius: 15px;
}

.admin-item-date {
    font-size: 12px;
    color: #95a5a6;
}

.admin-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.admin-item-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #7f8c8d;
}

.admin-item-comment {
    font-style: italic;
    color: #555;
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}

.admin-item-actions {
    margin-top: 10px;
}

.admin-item-actions .delete-btn {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-item-actions .delete-btn:hover {
    background: #c0392b;
}

.review-rating {
    color: #f39c12;
    font-size: 16px;
}

/* ==================== CLIENT ORDER REVIEW STYLES ==================== */

/* Leave Review Button */
.leave-review-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.leave-review-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

/* Reviewed Badge */
.reviewed-badge {
    margin-top: 1rem;
    padding: 10px 14px;
    background: #e8f5e9;
    border: 2px solid #66bb6a;
    border-radius: 8px;
}

.reviewed-badge .reviewed-rating {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 4px;
}

.reviewed-badge .reviewed-comment {
    display: block;
    font-size: 0.85rem;
    color: #5d4037;
    font-style: italic;
}

/* Client Order Review Modal */
#clientOrderReviewModal .modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#clientOrderReviewModal .rating-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1.5rem;
}

#clientOrderReviewModal .rating-prompt {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

#clientOrderReviewModal .rating-stars {
    display: flex;
    gap: 8px;
    justify-content: center;
    cursor: pointer;
}

#clientOrderReviewModal .rating-stars .star {
    font-size: 2rem;
    color: #dfe6e9;
    transition: all 0.2s ease;
    cursor: pointer;
}

#clientOrderReviewModal .rating-stars .star:hover {
    color: #f1c40f;
    transform: scale(1.2);
}

#clientOrderReviewModal .rating-stars .star.active {
    color: #f39c12;
}

#clientOrderReviewModal textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

#clientOrderReviewModal textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#clientOrderReviewModal button[type="button"] {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#clientOrderReviewModal button[type="button"]:hover {
    background: #009975;
    transform: translateY(-2px);
}

#clientOrderReviewModal .cancel-modal-btn {
    background: var(--text-light);
}

#clientOrderReviewModal .cancel-modal-btn:hover {
    background: var(--text);
}

/* Review Provider Name in Modal */
#reviewProviderName {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   CLIENT DASHBOARD TABS - ENHANCED STYLES
   ======================================== */

/* Client Dashboard Header */
.client-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    color: white;
    flex-wrap: wrap;
    gap: 15px;
}

.client-dashboard-header .dashboard-welcome {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.client-dashboard-header .dashboard-welcome h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.client-dashboard-header .user-greeting {
    font-size: 14px;
    opacity: 0.9;
}

.client-dashboard-header .dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.client-dashboard-header .edit-profile-btn,
.client-dashboard-header .logout-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.client-dashboard-header .edit-profile-btn {
    background: #ffc107;
    color: #333;
}

.client-dashboard-header .logout-btn {
    background: #dc3545;
    color: white;
}

.client-dashboard-header .edit-profile-btn:hover,
.client-dashboard-header .logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Client Dashboard Panels */
.client-dashboard-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-dashboard-panel {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease;
}

.client-dashboard-panel.active {
    display: block;
}

.client-dashboard-panel h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.client-dashboard-panel > p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

/* Enhanced Client Dashboard Tab Navigation */
.client-dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
}

.client-dashboard-tab {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.client-dashboard-tab:hover {
    background: #e9ecef;
    color: #333;
}

.client-dashboard-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Custom Request Form Enhancements */
.custom-request-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.custom-request-form h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.custom-request-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
    font-family: inherit;
}

.request-preferences {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.request-preferences label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.request-preferences input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.custom-request-form button {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-request-form button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Request Status */
.request-status {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.request-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.request-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Requests List for Custom Requests */
.requests-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ========================================
   RESPONSIVE STYLES FOR CLIENT DASHBOARD TABS
   ======================================== */

/* Tablet Responsive (max-width: 992px) */
@media (max-width: 992px) {
    .client-dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .client-dashboard-header .dashboard-actions {
        width: 100%;
        justify-content: center;
    }
    
    .client-dashboard-tabs {
        justify-content: center;
    }
    
    .client-dashboard-tab {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .requests-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Mobile Responsive (max-width: 576px) */
@media (max-width: 576px) {
    .client-dashboard-header {
        padding: 15px;
    }
    
    .client-dashboard-header .dashboard-welcome h2 {
        font-size: 20px;
    }
    
    .client-dashboard-header .user-greeting {
        font-size: 12px;
    }
    
    .client-dashboard-header .dashboard-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .client-dashboard-header .edit-profile-btn,
    .client-dashboard-header .logout-btn {
        width: 100%;
    }
    
    .client-dashboard-tabs {
        flex-direction: column;
    }
    
    .client-dashboard-tab {
        width: 100%;
        text-align: center;
    }
    
    .client-dashboard-panel {
        padding: 15px;
    }
    
    .client-dashboard-panel h3 {
        font-size: 18px;
    }
    
    .request-preferences {
        flex-direction: column;
        gap: 10px;
    }
    
    .request-preferences label {
        font-size: 13px;
    }
    
    .requests-list {
        grid-template-columns: 1fr;
    }
}

/* Large Screen Optimization (min-width: 1200px) */
@media (min-width: 1200px) {
    .client-dashboard-panel {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .requests-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== ORDERS HISTORY & SALES REPORT STYLES ==================== */

/* Orders History Section */
.orders-history-section {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.orders-history-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orders-history-section h3::before {
    content: '📋';
    font-size: 1.5rem;
}

/* Date Filter */
.history-date-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
}

.history-date-filter label {
    font-weight: 600;
    color: var(--text);
}

.history-date-filter input[type="date"] {
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.history-date-filter input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
}

/* History Summary Stats */
.history-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.summary-stat {
    text-align: center;
    padding: 15px;
    background: var(--bg);
    border-radius: 12px;
    border: 2px solid var(--border);
}

.summary-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.summary-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* History Orders List */
.history-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* History Order Card */
.history-order-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.history-order-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--shadow);
}

.history-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.history-order-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.history-order-client {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.history-order-food {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.history-order-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.history-order-details span {
    padding: 4px 10px;
    background: var(--bg-card);
    border-radius: 4px;
}

/* Order Actions */
.history-order-actions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* Delete Button */
.delete-order-btn {
    padding: 8px 16px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-order-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 48, 49, 0.3);
}

/* ==================== SALES REPORT STYLES ==================== */

/* Sales Report Section */
.sales-report-section {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.sales-report-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sales-report-section h3::before {
    content: '📊';
    font-size: 1.5rem;
}

/* Sales Summary Stats */
.sales-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.sales-summary .summary-stat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.sales-summary .summary-stat .stat-value {
    color: white;
}

.sales-summary .summary-stat .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Date Filter for Sales */
.sales-date-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
}

.sales-date-filter label {
    font-weight: 600;
    color: var(--text);
}

.sales-date-filter input[type="date"] {
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.sales-date-filter input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
}

/* Daily Sales Card */
.daily-sales-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.daily-sales-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.daily-sales-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.daily-sales-date {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

.daily-sales-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success);
}

.daily-sales-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Sales Items */
.daily-sales-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sales-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sales-item:hover {
    background: var(--bg);
}

.sales-item .item-name {
    font-weight: 500;
    color: var(--text);
}

.sales-item .item-price {
    font-weight: 600;
    color: var(--success);
}

.sales-item .item-status {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    background: var(--bg);
    border-radius: 8px;
    margin: 1rem 0;
}

.empty-state p {
    font-size: 1rem;
}

/* ==================== REGISTER CTA BUTTON FOR UNREGISTERED USERS ==================== */

/* Register CTA Button in Search Results (for unregistered users) */
.register-cta-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-cta-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #c44a1f 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.register-cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Register Subtext in Search Results */
.register-subtext {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Restricted Result Card (for unregistered users) */
.result-card.restricted {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.result-card.restricted .register-prompt {
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.result-card.restricted .register-prompt p {
    color: var(--text);
    font-size: 1.1rem;
}

.result-card.restricted .register-prompt strong {
    color: var(--primary);
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ==================== ORDER STATUS & PROGRESS STYLES ==================== */

/* Order Status Badge */
.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 10px;
}

/* Order Status Row */
.order-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    flex-wrap: wrap;
}

/* Order Action Button */
.order-action-btn {
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Provider Order Card */
.provider-order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.provider-order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 12px 0 0 12px;
}

.order-client {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.order-client-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

.order-client-contact small {
    margin-right: 15px;
}

/* Order Notes */
.order-notes {
    margin: 10px 0;
}

.provider-note-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.provider-note-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Order Progress Tracker */
.order-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    position: relative;
}

.order-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.progress-step .step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.progress-step.active .step-dot {
    background: var(--primary);
    color: white;
}

.progress-step.current .step-dot {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.3);
}

.progress-step .step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-step.current .step-label {
    color: var(--accent);
    font-weight: 600;
}

/* Order Details in Card */
.order-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.order-details span {
    font-size: 0.85rem;
}

.order-internal-note {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* No Orders State */
.no-orders {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Enhanced Order Card for Client */
.order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* ==================== MOBILE-FRIENDLY RESTRUCTURE ==================== */

/* Header - Compact on Mobile */
@media (max-width: 480px) {
    header {
        padding: 1rem 0;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    header h1 {
        font-size: 1.3rem;
    }
}

/* Main Tabs - Responsive Grid */
@media (max-width: 600px) {
    .tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {
    .tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 150px;
    }
}

/* Provider Dashboard - Panel Tabs */
.provider-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.provider-panel-tab {
    flex: 1 1 calc(50% - 8px);
    min-width: 100px;
    padding: 10px 14px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.provider-panel-tab:hover {
    border-color: var(--primary);
    color: var(--text);
}

.provider-panel-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

@media (min-width: 768px) {
    .provider-panel-tabs {
        flex-wrap: nowrap;
    }
    
    .provider-panel-tab {
        flex: 1;
        min-width: auto;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

/* Dashboard Panels */
.dashboard-panel-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.dashboard-panel-section.active {
    display: block !important;
}

/* Collapsible Section */
.collapsible-section {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    background: var(--bg);
}

.collapsible-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.collapsible-header .toggle-icon {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.collapsible-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.collapsible-body {
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.collapsible-body.collapsed {
    display: none;
}

/* Search Form - Mobile */
@media (max-width: 600px) {
    .search-panel {
        padding: 1rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-form input,
    .search-form select {
        width: 100%;
        min-width: 100%;
        padding: 12px 14px;
    }
    
    .search-form button {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Forms - Mobile Stacked */
@media (max-width: 600px) {
    #menuForm,
    #requestForm,
    #contactForm {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .auth-form form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .custom-request-section form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .edit-profile-form form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Results Grid - Mobile */
@media (max-width: 480px) {
    .results-grid,
    .menu-grid,
    .requests-grid,
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .orders-list {
        grid-template-columns: 1fr;
    }
}

/* Cards - Mobile Compact */
@media (max-width: 480px) {
    .result-card,
    .menu-item,
    .request-card,
    .order-card,
    .provider-order-card {
        padding: 1rem;
    }
    
    .result-card .provider-name,
    .menu-item .provider-name {
        font-size: 0.9rem;
    }
    
    .result-card .food-name,
    .menu-item .food-name {
        font-size: 1.1rem;
    }
    
    .meal-details {
        gap: 8px;
    }
}

/* Action Buttons - Mobile Full Width */
@media (max-width: 480px) {
    .contact-btn,
    .order-action-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .menu-item-actions {
        display: flex;
        gap: 8px;
        margin-top: 0.75rem;
    }
    
    .menu-item .edit-btn,
    .menu-item .delete-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Dashboard Header - Mobile */
@media (max-width: 480px) {
    .dashboard-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .dashboard-header > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .dashboard-header .edit-profile-btn,
    .dashboard-header .logout-btn {
        flex: 1;
        text-align: center;
        min-width: 100px;
        padding: 8px 14px;
    }
}

/* Modal - Mobile */
@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        width: 95%;
        margin: 10px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
}

/* Auth Forms - Mobile */
@media (max-width: 480px) {
    .provider-panel,
    .client-panel,
    .requests-panel {
        padding: 1rem;
    }
    
    .auth-toggle {
        flex-direction: column;
    }
    
    .auth-toggle-btn {
        width: 100%;
    }
    
    .auth-form {
        padding: 1rem;
    }
    
    .auth-form h2 {
        font-size: 1.3rem;
    }
}

/* Servings Adjust - Mobile */
@media (max-width: 400px) {
    .servings-adjust {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .servings-label {
        width: 100%;
        text-align: center;
        margin-bottom: 6px;
    }
    
    .servings-input {
        width: 60px;
    }
}

/* Order Progress - Mobile */
@media (max-width: 480px) {
    .order-progress {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .progress-step {
        min-width: 50px;
    }
    
    .progress-step .step-dot {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .progress-step .step-label {
        font-size: 0.65rem;
    }
}

/* History & Sales - Mobile */
@media (max-width: 480px) {
    .history-summary,
    .sales-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .history-summary .summary-stat,
    .sales-summary .summary-stat {
        padding: 10px;
    }
    
    .history-summary .stat-value,
    .sales-summary .stat-value {
        font-size: 1.2rem;
    }
    
    .history-date-filter,
    .sales-date-filter {
        flex-direction: column;
        gap: 8px;
    }
    
    .history-date-filter input,
    .sales-date-filter input {
        width: 100%;
    }
}

/* Portion Sizes - Mobile */
@media (max-width: 480px) {
    .portion-inputs {
        flex-direction: column;
    }
    
    .portion-inputs input,
    .portion-inputs button {
        width: 100%;
    }
    
    .portion-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .portion-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }
}

/* Delivery Options - Mobile */
@media (max-width: 480px) {
    .delivery-options .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-group label {
        width: 100%;
    }
}

/* Time Group - Mobile */
@media (max-width: 480px) {
    .time-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .time-group > label {
        width: 100%;
        font-size: 0.95rem;
    }
    
    .time-group input[type="time"] {
        flex: 1;
        min-width: 80px;
        width: calc(50% - 20px);
    }
    
    .time-group .time-separator {
        flex: 0;
        padding: 0 4px;
    }
}

/* Ensure Operating Hours section is always visible */
.form-group:has(.time-group) {
    overflow: visible;
}

/* Review Cards - Mobile */
@media (max-width: 480px) {
    .review-card {
        padding: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .rating-summary {
        padding: 8px 12px;
    }
    
    .rating-summary .avg-rating {
        font-size: 1rem;
    }
}

/* Order Status - Mobile */
@media (max-width: 480px) {
    .order-status-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .order-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Direct Contact - Mobile */
@media (max-width: 480px) {
    #directContactButtons {
        flex-direction: column;
    }
    
    .contact-direct-btn {
        width: 100%;
    }
}

/* Edit Profile - Mobile */
@media (max-width: 480px) {
    .edit-profile-form {
        padding: 1rem;
    }
    
    .edit-profile-form button {
        width: 100%;
    }
    
    .save-profile-btn,
    .cancel-edit-btn {
        width: 100%;
        margin-top: 8px;
    }
}

/* Tablet Support (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .results-grid,
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .provider-panel-tab,
    .client-panel-tab {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .results-grid,
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== ORDER MANAGEMENT STYLES ==================== */

/* Order Status Badge */
.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Order Status Row */
.order-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    flex-wrap: wrap;
}

/* Order Action Button (Provider) */
.order-action-btn {
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-action-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* Provider Order Card */
.provider-order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.provider-order-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--shadow);
}

.provider-order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.provider-order-card .order-client {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.provider-order-card .order-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.provider-order-card .order-food {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.provider-order-card .order-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.provider-order-card .order-message {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.provider-order-card .order-notes {
    margin: 10px 0;
}

.provider-note-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.provider-note-input:focus {
    outline: none;
    border-color: var(--primary);
}

.provider-order-card .order-client-contact {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

/* Order Progress Tracker */
.order-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow-x: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 60px;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.progress-step.active:not(:last-child)::after {
    background: var(--accent);
}

.progress-step .step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.progress-step.active .step-dot {
    background: var(--accent);
    color: white;
}

.progress-step.current .step-dot {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.progress-step .step-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--accent);
}

.progress-step.current .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Order Internal Note (Client View) */
.order-internal-note {
    background: #f0f0f0;
    border-left: 3px solid var(--accent);
}

/* No Orders */
.no-orders {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* Order Details in Client Order Card */
.order-card .order-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.order-card .order-details span {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* ==================== ORDER MANAGEMENT SYSTEM STYLES ==================== */

/* Order Status Badge */
.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Provider Order Card */
.provider-order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.provider-order-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.provider-order-card .order-client {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.provider-order-card .order-food {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0.5rem 0;
}

.provider-order-card .order-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.provider-order-card .order-message {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    padding: 10px;
    background: var(--bg);
    border-radius: 8px;
}

/* Order Status Row */
.order-status-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Order Action Button */
.order-action-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-action-btn:hover {
    background: #009975;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

/* Provider Notes */
.order-notes {
    margin-bottom: 1rem;
}

.provider-note-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.provider-note-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Client Contact in Provider Order */
.order-client-contact {
    display: flex;
    gap: 10px;
    color: var(--text-light);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.order-client-contact small {
    font-size: 0.85rem;
}

/* Order Progress Tracker */
.order-progress {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    position: relative;
}

.order-progress::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.progress-step .step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step .step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-dot {
    background: var(--accent);
    color: white;
}

.progress-step.active .step-label {
    color: var(--accent);
    font-weight: 600;
}

.progress-step.current .step-dot {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
    transform: scale(1.1);
}

.progress-step.current .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* Enhanced Order Card for Client */
.order-card .order-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.order-card .order-status-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

/* Compact progress for order cards */
.order-card .order-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.order-card .order-progress::before {
    top: 24px;
}

.order-card .progress-step .step-dot {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
}

.order-card .progress-step .step-label {
    font-size: 0.65rem;
}

/* Responsive */
@media (max-width: 480px) {
    .order-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step {
        min-width: 60px;
    }
    
    .order-status-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== ORDER MANAGEMENT STYLES ==================== */

/* Order Status Badge */
.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Order Action Button */
.order-action-btn {
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.order-action-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* Provider Order Card */
.provider-order-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.provider-order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.provider-order-card .order-client {
    font-weight: 600;
    color: var(--primary);
}

.provider-order-card .order-food {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.provider-order-card .order-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.provider-order-card .order-message {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    padding: 10px;
    background: var(--bg);
    border-radius: 6px;
}

.provider-order-card .order-status-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.provider-order-card .order-notes {
    margin-top: 10px;
}

.provider-note-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.provider-note-input:focus {
    outline: none;
    border-color: var(--primary);
}

.provider-order-card .order-client-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

/* Order Progress Tracker (Client View) */
.order-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 10px 0;
    position: relative;
}

.order-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.progress-step .step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.progress-step .step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-dot {
    background: var(--primary);
    color: white;
}

.progress-step.active .step-label {
    color: var(--text);
    font-weight: 600;
}

.progress-step.current .step-dot {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.progress-step.current .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* Client order card details */
.order-card .order-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== SERVINGS ADJUSTMENT STYLES ==================== */

.servings-adjust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    padding: 8px 12px;
    background: #fff3e0;
    border-radius: 8px;
    border: 1px solid #ffb74d;
}

.servings-label {
    font-weight: 600;
    color: #e65100;
    font-size: 0.9rem;
    white-space: nowrap;
}

.servings-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.servings-btn.minus {
    background: #ff8a65;
    color: white;
}

.servings-btn.minus:hover {
    background: #e64a19;
    transform: scale(1.1);
}

.servings-btn.plus {
    background: #66bb6a;
    color: white;
}

.servings-btn.plus:hover {
    background: #388e3c;
    transform: scale(1.1);
}

.servings-btn:active {
    transform: scale(0.95);
}

.servings-input {
    width: 70px;
    padding: 8px 10px;
    border: 2px solid #ffb74d;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #e65100;
    background: white;
    -moz-appearance: textfield;
    appearance: textfield;
}

.servings-input::-webkit-outer-button,
.servings-input::-webkit-inner-button {
    -webkit-appearance: none;
    margin: 0;
}

.servings-input:focus {
    outline: none;
    border-color: #ff6f00;
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.3);
}

.servings-input:focus {
    outline: none;
    border-color: #ff6f00;
}

/* Menu item actions buttons */
.menu-item .edit-btn {
    background: var(--accent-alt);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.menu-item .edit-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Responsive adjustments for servings */
@media (max-width: 480px) {
    .servings-adjust {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .servings-input {
        width: 60px;
        font-size: 0.9rem;
    }
}

/* Registration Prompt for Unregistered Users */
.register-prompt {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
}

.register-prompt p {
    color: #e65100;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

/* Register Prompt in Search Results */
.register-prompt {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ffb74d;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.register-prompt p {
    color: #e65100;
    font-weight: 600;
    margin: 0;
}

/* Register Prompt - Hide Details from Unregistered Users */
.register-prompt {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 1rem 0;
    text-align: center;
}

.register-prompt p {
    color: #e65100;
    font-weight: 600;
    margin: 0;
}

/* Register Prompt for Unregistered Users */
.register-prompt {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    text-align: center;
}

.register-prompt p {
    color: #e65100;
    font-weight: 600;
    margin: 0;
}

/* Edit Profile Button */
.edit-profile-btn {
    background: var(--accent-alt);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.edit-profile-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Save Profile Button */
.save-profile-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.save-profile-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* Cancel Edit Button */
.cancel-edit-btn {
    background: var(--text-light);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-edit-btn:hover {
    background: var(--text);
}

/* Edit Profile Form Container */
.edit-profile-form {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.edit-profile-form h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

.edit-profile-form form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.edit-profile-form input,
.edit-profile-form select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.edit-profile-form input:focus,
.edit-profile-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Edit Profile Button */
.edit-profile-btn {
    padding: 10px 20px;
    background: var(--accent-alt);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.edit-profile-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Edit Profile Form Container */
.edit-profile-form {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.edit-profile-form h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.edit-profile-form form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.edit-profile-form input,
.edit-profile-form select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.edit-profile-form input:focus,
.edit-profile-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Save Profile Button */
.save-profile-btn {
    padding: 14px 28px;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-profile-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

/* Cancel Edit Button */
.cancel-edit-btn {
    padding: 14px 28px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-edit-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* Cancel Modal Button */
.cancel-modal-btn {
    grid-column: 1 / -1;
    padding: 14px 28px;
    background: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-modal-btn:hover {
    background: var(--text);
    transform: translateY(-2px);
}

/* Search Country Selector */
#searchCountry {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    min-width: 180px;
}

#searchCountry:focus {
    outline: none;
    border-color: var(--primary);
}

/* Edit Profile Button */
.edit-profile-btn {
    background: var(--accent-alt);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.edit-profile-btn:hover {
    background: #0773c5;
    transform: translateY(-2px);
}

/* Edit Profile Form */
.edit-profile-form {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.edit-profile-form h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.edit-profile-form p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.edit-profile-form form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.edit-profile-form input,
.edit-profile-form select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.edit-profile-form input:focus,
.edit-profile-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.save-profile-btn {
    grid-column: 1 / -1;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-profile-btn:hover {
    background: #009975;
    transform: translateY(-2px);
}

.cancel-edit-btn {
    grid-column: 1 / -1;
    padding: 14px 28px;
    background: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-edit-btn:hover {
    background: var(--text);
    transform: translateY(-2px);
}

/* Location/_country tag in search results */
.location-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Delivery Options Styles */
.delivery-options {
    grid-column: 1 / -1;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    border: 1px solid #a5d6a7;
}

.delivery-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2e7d32;
}

.delivery-choice {
    grid-column: 1 / -1;
}

.delivery-choice label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.delivery-choice select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.delivery-choice select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Delivery Tags in Search Results */
.delivery-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
}

.delivery-tag.delivery {
    background: #c8e6c9;
    color: #2e7d32;
}

.delivery-tag.pickup {
    background: #bbdefb;
    color: #1565c0;
}

.delivery-tag.both {
    background: #e1bee7;
    color: #7b1fa2;
}

/* ==================== SUBSCRIPTION PLAN IN PROVIDER REGISTRATION ==================== */

/* Subscription Plan Group */
.subscription-plan-group {
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #64b5f6;
    border-radius: 12px;
}

.subscription-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1565c0;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.label-icon {
    font-size: 1.2rem;
}

.subscription-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #64b5f6;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.3);
}

.plan-features-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    text-align: center;
}

.plan-features-note small {
    color: #1976d2;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Meals Group */
.custom-meals-group {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #81c784;
    border-radius: 12px;
}

.custom-meals-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #2e7d32;
    font-size: 1rem;
}

.custom-meals-checkbox {
    width: 22px;
    height: 22px;
    accent-color: #4caf50;
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
}

.custom-meals-note {
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.custom-meals-note small {
    color: #388e3c;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive - Stack subscription and custom meals on mobile */
@media (max-width: 600px) {
    .subscription-plan-group,
    .custom-meals-group {
        padding: 0.75rem;
    }
    
    .subscription-label {
        font-size: 0.95rem;
    }
    
    .subscription-select {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* ==================== END SUBSCRIPTION PLAN STYLES ==================== */

/* Custom Request Section in Client Dashboard */
.custom-request-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

/* Full Height Register Prompt for Unregistered Users */
.register-prompt.full-height {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 3rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
    border: 3px solid #ff9800;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.register-prompt.full-height::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.register-prompt.full-height .lock-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #e65100;
    text-shadow: 0 4px 8px rgba(230, 81, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.register-prompt.full-height h3 {
    color: #bf360c;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.register-prompt.full-height p {
    color: #d84315;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.register-prompt.full-height .benefits-list {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.register-prompt.full-height .benefits-list h4 {
    color: #e65100;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.register-prompt.full-height .benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.register-prompt.full-height .benefits-list li {
    color: #5d4037;
    padding: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-prompt.full-height .benefits-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #66bb6a;
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.register-prompt.full-height .cta {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(255, 111, 0, 0.4);
}

.register-prompt.full-height .cta strong {
    color: white;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.register-prompt.full-height .register-buttons {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.register-prompt.full-height .register-btn-large {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.register-prompt.full-height .register-btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.register-prompt.full-height .login-btn-large {
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.4);
}

.register-prompt.full-height .login-btn-large:hover {
    background: #009975;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.5);
}

/* Responsive full-height register prompt */
@media (max-width: 600px) {
    .register-prompt.full-height {
        min-height: auto;
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    .register-prompt.full-height .lock-icon {
        font-size: 3.5rem;
    }

    .register-prompt.full-height h3 {
        font-size: 1.5rem;
    }

    .register-prompt.full-height p {
        font-size: 1rem;
    }

    .register-prompt.full-height .benefits-list {
        padding: 1rem;
    }

    .register-prompt.full-height .benefits-list li {
        font-size: 0.9rem;
    }

    .register-prompt.full-height .register-buttons {
        flex-direction: column;
        width: 100%;
    }

    .register-prompt.full-height .register-btn-large,
    .register-prompt.full-height .login-btn-large {
        width: 100%;
        font-size: 1rem;
    }
}

/* Cancel Modal Button in Contact Form */
.cancel-modal-btn {
    grid-column: 1 / -1;
    padding: 14px 28px;
    background: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cancel-modal-btn:hover {
    background: var(--text);
    transform: translateY(-2px);
}

.custom-request-section h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.custom-request-section > p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.custom-request-section h4 {
    color: var(--text);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.custom-request-section form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.custom-request-section input,
.custom-request-section textarea {
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.custom-request-section input:focus,
.custom-request-section textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.custom-request-section button {
    grid-column: 1 / -1;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-request-section button:hover {
    background: #009975;
    transform: translateY(-2px);
}
