/**
 * Dashboard Restaurant Styles - Rasin & Saveur
 * Estil espesifik pou dashboard Responsab Restoran
 */

/* ===== RESTAURANT SIDEBAR ===== */
.restaurant-sidebar {
    border-right: 2px solid #F8E7D0;
}

.restaurant-sidebar .sidebar-header {
    background: linear-gradient(135deg, #D9A441 0%, #C6932D 100%);
}

.restaurant-avatar {
    background: rgba(255, 255, 255, 0.3);
}

.restaurant-avatar i {
    color: #fff;
}

.restaurant-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.restaurant-status-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

.restaurant-status-badge.closed .status-dot {
    background: #F44336;
    animation: none;
}

/* ===== ORDER CARD ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes orderCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.restaurant-order-card {
    animation: orderCardSlideIn 0.4s ease-out;
}

.restaurant-order-card:nth-child(1) {
    animation-delay: 0.05s;
}

.restaurant-order-card:nth-child(2) {
    animation-delay: 0.1s;
}

.restaurant-order-card:nth-child(3) {
    animation-delay: 0.15s;
}

.restaurant-order-card:nth-child(4) {
    animation-delay: 0.2s;
}

.restaurant-order-card:nth-child(5) {
    animation-delay: 0.25s;
}

/* ===== ORDER TIMELINE ===== */
.order-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin: 16px 0;
    background: linear-gradient(135deg, #FAFAF5 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #F8E7D0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.timeline-step .step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E0E0E0;
    transition: all 0.3s ease;
}

.timeline-step.completed .step-dot {
    background: #66BB6A;
    box-shadow: 0 0 8px rgba(102, 187, 106, 0.6);
}

.timeline-step.active .step-dot {
    background: #D9A441;
    box-shadow: 0 0 12px rgba(217, 164, 65, 0.8);
    animation: pulse 2s infinite;
}

.timeline-step .step-label {
    font-size: 0.7rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-step.completed .step-label {
    color: #66BB6A;
}

.timeline-step.active .step-label {
    color: #D9A441;
    font-weight: 700;
}

/* ===== EMPTY STATE FOR ORDERS ===== */
.empty-state-orders {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #FAFAF5 0%, #fff 100%);
    border-radius: 16px;
    border: 2px dashed #F8E7D0;
}

.empty-state-orders i {
    font-size: 4rem;
    color: #F8E7D0;
    margin-bottom: 20px;
}

.empty-state-orders h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: #2C5F2D;
    margin-bottom: 12px;
}

.empty-state-orders p {
    font-size: 1rem;
    color: #888;
    margin-bottom: 24px;
}
}

/* ===== RESTAURANT STATS ===== */
.restaurant-stats .stat-icon.pending {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    color: #fff;
}

.restaurant-stats .stat-icon.preparing {
    background: linear-gradient(135deg, #E57373 0%, #EF5350 100%);
    color: #fff;
}

.restaurant-stats .stat-icon.delivering {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: #fff;
}

.restaurant-stats .stat-icon.today-revenue {
    background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
    color: #fff;
}

/* Stats animation on load */
.stat-card {
    animation: scaleIn 0.5s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stat Value Counter Animation */
.stat-info h3 {
    display: inline-block;
}

.stat-info h3.counting {
    animation: pulse 0.5s ease-in-out;
}

/* ===== QUICK STATUS TOGGLE ===== */
.quick-status-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #FAFAF5 0%, #fff 100%);
    border: 2px solid #F8E7D0;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
}

.quick-status-toggle .toggle-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-status-toggle .toggle-info i {
    font-size: 1.5rem;
    color: #D9A441;
}

.quick-status-toggle .toggle-info h3 {
    font-size: 1.1rem;
    color: #2C5F2D;
    margin: 0;
}

.quick-status-toggle .toggle-info p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Toggle Switch */
.restaurant-toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.restaurant-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.restaurant-toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: all 0.3s ease;
    border-radius: 32px;
}

.restaurant-toggle-switch .slider::before {
    content: '';
    position: absolute;
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.restaurant-toggle-switch input:checked + .slider {
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%);
}

.restaurant-toggle-switch input:checked + .slider::before {
    transform: translateX(28px);
}

.restaurant-toggle-switch .slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #888;
    font-weight: 700;
}

.restaurant-toggle-switch input:checked + .slider::after {
    content: '';
    left: 40px;
    color: #fff;
}

/* ===== NOTIFICATION BADGE ANIMATION ===== */
.nav-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-badge.updated {
    animation: badgeUpdate 0.5s ease-out;
}

@keyframes badgeUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== LIVE ORDER INDICATOR ===== */
.live-orders-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: slideInLeft 0.5s ease-out;
}

.live-orders-indicator .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== REVENUE CHART SPARKLINE ===== */
.revenue-sparkline {
    height: 60px;
    margin-top: 12px;
}

/* ===== ACTIVITY FEED ===== */
.activity-feed {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #F8E7D0;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F8E7D0;
    animation: fadeInSlide 0.3s ease-out;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item .activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-item .activity-icon.order {
    background: rgba(217, 164, 65, 0.15);
    color: #D9A441;
}

.activity-item .activity-icon.completed {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.activity-item .activity-icon.info {
    background: rgba(66, 165, 245, 0.15);
    color: #42A5F5;
}

.activity-item .activity-content {
    flex: 1;
}

.activity-item .activity-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #2C5F2D;
}

.activity-item .activity-content span {
    font-size: 0.75rem;
    color: #888;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REAL-TIME CLOCK ===== */
.real-time-clock {
    font-family: 'Manrope', monospace;
    font-size: 0.9rem;
    color: #888;
    text-align: right;
    margin-bottom: 16px;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    margin: 32px 0;
}

.quick-actions h2 {
    font-size: 1.25rem;
    color: #2C5F2D;
    margin-bottom: 16px;
    font-family: 'Fraunces', serif;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    border: 2px solid #F8E7D0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    border-color: #D9A441;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.15);
}

.action-card i {
    font-size: 2rem;
    color: #D9A441;
    margin-bottom: 12px;
}

.action-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2C5F2D;
}

.action-card p {
    font-size: 0.85rem;
    color: #666;
}

/* ===== RESTAURANT ORDERS ===== */
.orders-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #FAFAF5 0%, #F5F0E6 100%);
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid #F8E7D0;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.2);
    border-color: #D9A441;
    color: #D9A441;
}

.filter-btn.active {
    background: linear-gradient(135deg, #D9A441 0%, #C6932D 100%);
    border-color: #D9A441;
    color: #fff;
    box-shadow: 0 4px 16px rgba(217, 164, 65, 0.3);
}

.restaurant-order-card {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #F8E7D0;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.restaurant-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #D9A441;
}

/* Order Card Header */
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FAFAF5 0%, #fff 100%);
    border-bottom: 2px solid #F8E7D0;
}

.order-card-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C5F2D;
    margin: 0;
}

.order-card-header p {
    font-size: 0.85rem;
    color: #888;
    margin: 4px 0 0 0;
}

/* Order Status Badges */
.order-status {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.PENDING {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 183, 77, 0.4);
}

.order-status.ACCEPTED {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.4);
}

.order-status.PREPARING {
    background: linear-gradient(135deg, #E57373 0%, #EF5350 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 83, 80, 0.4);
}

.order-status.OUT_FOR_DELIVERY {
    background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 187, 106, 0.4);
}

.order-status.DELIVERED {
    background: linear-gradient(135deg, #90A4AE 0%, #78909C 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(120, 144, 156, 0.4);
}

.order-status.CANCELLED {
    background: linear-gradient(135deg, #E57373 0%, #EF5350 100%);
    color: #fff;
    opacity: 0.7;
}

/* Order Card Body */
.order-card-body {
    padding: 20px 24px;
}

.order-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.order-info-row strong {
    color: #2C5F2D;
    font-weight: 600;
    min-width: 100px;
}

/* Order Items List */
.order-items-list {
    margin-top: 16px;
    padding: 16px;
    background: #FAFAF5;
    border-radius: 12px;
    border: 1px dashed #F8E7D0;
}

.order-item-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F8E7D0;
    font-size: 0.9rem;
}

.order-item-line:last-child {
    border-bottom: none;
}

.order-item-line span:first-child {
    color: #2C5F2D;
    font-weight: 500;
}

.order-item-line span:last-child {
    color: #D9A441;
    font-weight: 700;
}

/* Order Card Footer */
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FAFAF5 0%, #fff 100%);
    border-top: 2px solid #F8E7D0;
}

.order-total {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C5F2D;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.order-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.accept-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%);
    color: #fff;
}

.accept-btn:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
}

.reject-btn,
.delete-item-btn {
    background: linear-gradient(135deg, #F44336 0%, #E53935 100%);
    color: #fff;
}

.reject-btn:hover,
.delete-item-btn:hover {
    background: linear-gradient(135deg, #EF5350 0%, #F44336 100%);
}

.prepare-btn,
.ready-btn {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    color: #fff;
}

.prepare-btn:hover,
.ready-btn:hover {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
}

/* ===== MENU ITEMS ===== */
.menu-search-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #F8E7D0;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #D9A441;
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);
}

.search-input-wrapper i {
    color: #AAA;
    font-size: 1rem;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 12px;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    outline: none;
}

.search-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-filters select {
    padding: 14px 40px 14px 16px;
    border: 2px solid #F8E7D0;
    border-radius: 12px;
    background: #fff;
    font-size: 0.9rem;
    font-family: 'Manrope', sans-serif;
    color: #2C5F2D;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C5F2D' d='M6 9L1 4l1-1 4 4 4-4 1 1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.search-filters select:hover {
    border-color: #D9A441;
}

.search-filters select:focus {
    outline: none;
    border-color: #D9A441;
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);
}

.menu-actions {
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-end;
}

.add-menu-item-btn {
    background: #D9A441;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.add-menu-item-btn:hover {
    background: #C6932D;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.menu-item-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #F8E7D0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    border-color: #D9A441;
    transform: translateY(-2px);
}

.menu-item-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.availability-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.availability-badge.available {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
}

.availability-badge.unavailable {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
}

.menu-item-content {
    padding: 16px;
}

.menu-item-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 8px;
    font-family: 'Fraunces', serif;
}

.menu-item-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #F8E7D0;
}

.menu-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #D9A441;
}

.menu-item-actions {
    display: flex;
    gap: 8px;
}

.menu-item-actions button {
    width: 36px;
    height: 36px;
    border: 2px solid #F8E7D0;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.menu-item-actions button:hover {
    border-color: #D9A441;
    color: #D9A441;
}

.edit-item-btn:hover {
    border-color: #64B5F6;
    color: #64B5F6;
}

.delete-item-btn:hover {
    border-color: #EF5350;
    color: #EF5350;
}

/* ===== RESTAURANT FORM ===== */
.restaurant-form {
    max-width: 900px;
    margin: 0 auto;
}

/* Restaurant Profile Preview Card */
.restaurant-profile-preview {
    background: linear-gradient(135deg, #2C5F2D 0%, #1F4221 100%);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.restaurant-profile-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(217, 164, 65, 0.1);
    border-radius: 50%;
}

.restaurant-profile-preview::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(217, 164, 65, 0.08);
    border-radius: 50%;
}

.restaurant-preview-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.restaurant-preview-logo {
    width: 80px;
    height: 80px;
    background: rgba(217, 164, 65, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(217, 164, 65, 0.4);
}

.restaurant-preview-logo i {
    font-size: 2rem;
    color: #D9A441;
}

.restaurant-preview-info h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.restaurant-preview-info p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.restaurant-preview-stats {
    display: flex;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.preview-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-stat i {
    font-size: 1.5rem;
    color: #D9A441;
}

.preview-stat-text span:first-child {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.preview-stat-text span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Form Sections */
.form-section {
    margin-bottom: 32px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #F8E7D0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #D9A441;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #2C5F2D;
    margin-bottom: 20px;
    font-family: 'Fraunces', serif;
    padding-bottom: 12px;
    border-bottom: 3px solid #F8E7D0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #D9A441 0%, #C6932D 100%);
    border-radius: 2px;
}

/* Section-specific icons */
.form-section:nth-child(2) h3::after {
    content: '\f0c0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    color: #D9A441;
}

.form-section:nth-child(3) h3::after {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    color: #D9A441;
}

.form-section:nth-child(4) h3::after {
    content: '\f013';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    color: #D9A441;
}

.form-section:nth-child(5) h3::after {
    content: '\f0d5';
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    margin-left: auto;
    color: #D9A441;
}

.form-section .form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 10px;
}

.form-section label i {
    color: #D9A441;
    font-size: 1rem;
}

.form-section label::before {
    content: '';
    display: none;
}

.form-section input,
.form-section textarea,
.form-section select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid #F8E7D0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FAFAF5;
}

.form-section .input-wrapper {
    position: relative;
}

.form-section .input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #D9A441;
    font-size: 1rem;
    z-index: 1;
}

.form-section .input-wrapper input {
    padding-left: 44px;
}

.form-section input:focus,
.form-section textarea:focus,
.form-section select:focus {
    outline: none;
    border-color: #D9A441;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);
    transform: translateY(-1px);
}

.form-section input:focus + i,
.form-section .input-wrapper:focus-within i {
    color: #2C5F2D;
}

.form-section input::placeholder,
.form-section textarea::placeholder {
    color: #AAA;
    font-style: italic;
}

.form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Social Media Input Group */
.social-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.social-input-group .social-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 1;
}

.social-input-group .social-icon.facebook {
    color: #1877F2;
}

.social-input-group .social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-input-group .social-icon.tiktok {
    color: #000;
}

.social-input-group input {
    padding-left: 44px;
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid #F8E7D0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FAFAF5;
}

.social-input-group input:focus {
    outline: none;
    border-color: #D9A441;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);
}

.restaurant-form .submit-btn {
    background: linear-gradient(135deg, #D9A441 0%, #C6932D 100%);
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(217, 164, 65, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.restaurant-form .submit-btn::before {
    content: '\f0c7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.restaurant-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(217, 164, 65, 0.4);
    background: linear-gradient(135deg, #C6932D 0%, #B58429 100%);
}

.restaurant-form .submit-btn:active {
    transform: translateY(0);
}

/* Form Save Indicator */
.form-save-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-save-indicator.show {
    opacity: 1;
}

.form-save-indicator.saving {
    color: #D9A441;
}

.form-save-indicator.success {
    color: #4CAF50;
}

.form-save-indicator.error {
    color: #F44336;
}

/* Form Save Indicator */
.form-save-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-save-indicator.show {
    opacity: 1;
}

.form-save-indicator.saving {
    color: #D9A441;
}

.form-save-indicator.success {
    color: #4CAF50;
}

.form-save-indicator.error {
    color: #F44336;
}

/* ===== REPORTS ===== */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.report-card {
    background: #fff;
    border: 2px solid #F8E7D0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.report-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #D9A441;
    transform: translateY(-2px);
}

.report-card h3 {
    font-size: 1.2rem;
    color: #2C5F2D;
    margin-bottom: 20px;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #F8E7D0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-card h3::before {
    content: '\f201';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #D9A441;
}

.report-card canvas {
    max-height: 300px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 28px;
    animation: slideInDown 0.5s ease-out;
}

.section-header h1 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h1::before {
    content: '';
    width: 6px;
    height: 32px;
    background: linear-gradient(135deg, #D9A441 0%, #C6932D 100%);
    border-radius: 3px;
}

.section-header p {
    font-size: 1rem;
    color: #888;
    margin: 0;
    padding-left: 18px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .orders-filters {
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Orders card responsive */
    .order-card-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-card-header h3 {
        font-size: 1.1rem;
    }

    .order-status {
        align-self: flex-end;
    }

    .order-card-body {
        padding: 16px;
    }

    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .order-info-row strong {
        min-width: auto;
    }

    .order-card-footer {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .order-total {
        text-align: center;
        font-size: 1.1rem;
    }

    .order-actions {
        flex-direction: column;
        gap: 8px;
    }

    .order-actions button {
        width: 100%;
        justify-content: center;
    }

    .restaurant-form .form-row {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-card canvas {
        max-height: 250px;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-actions button {
        width: 100%;
    }
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.empty-state button,
.empty-state a {
    display: inline-block;
    padding: 12px 24px;
    background: #D9A441;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
}

/* ===== LOADING STATE ===== */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #F8E7D0;
    border-top-color: #D9A441;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ROLE BADGE ===== */
.role-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #D9A441;
    color: #fff;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

/* ===== MENU ITEM MODAL ===== */
.menu-item-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.menu-item-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.menu-item-modal .modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #F8E7D0;
}

.modal-header h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: #2C5F2D;
    margin: 0;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #F8E7D0;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #E8D7C0;
    transform: rotate(90deg);
}

#menuItemForm {
    padding: 24px;
}

#menuItemForm .form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F8E7D0;
}

#menuItemForm .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    color: #2C5F2D;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2C5F2D;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #F8E7D0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D9A441;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.1);
}

/* Image Upload Area */
.image-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: #FAFAF5;
    border: 2px dashed #F8E7D0;
    border-radius: 12px;
}

.image-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #E8D7C0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8B7355;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview.has-image img {
    display: block;
}

.image-preview.has-image i,
.image-preview.has-image span {
    display: none;
}

.upload-btn {
    padding: 12px 24px;
    background: #D9A441;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-btn:hover {
    background: #C6932D;
    transform: translateY(-1px);
}

.image-help {
    font-size: 0.85rem;
    color: #888;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group span {
    font-weight: 500;
    color: #2C5F2D;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-actions button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cancel {
    background: #F8E7D0;
    color: #666;
}

.btn-cancel:hover {
    background: #E8D7C0;
}

.btn-primary {
    background: #2C5F2D;
    color: #fff;
}

.btn-primary:hover {
    background: #234D24;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px) */
@media (max-width: 768px) {
    /* Sidebar becomes slide-out drawer */
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    }

    .dashboard-sidebar.open {
        left: 0;
        transform: translateX(0);
    }

    /* Overlay when sidebar open */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 90;
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* Hamburger menu button */
    .menu-toggle {
        display: block !important;
    }

    /* Stats grid responsive */
    .restaurant-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Actions grid responsive */
    .actions-grid {
        grid-template-columns: 1fr;
    }

    /* Menu items grid */
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Orders cards responsive */
    .restaurant-orders-list {
        grid-template-columns: 1fr;
    }

    /* Modal fullscreen on mobile */
    .menu-item-modal .modal-content {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    /* Form adjustments */
    .form-row {
        flex-direction: column;
    }

    .form-row .form-group {
        width: 100%;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    /* Stats to single column */
    .restaurant-stats {
        grid-template-columns: 1fr;
    }

    /* Menu items to single column */
    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    /* Sidebar header compact */
    .sidebar-header {
        padding: 16px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }

    /* Order cards compact */
    .restaurant-order-card {
        padding: 16px;
    }

    /* Order action buttons stack */
    .order-actions {
        flex-wrap: wrap;
    }

    .order-actions button {
        flex: 1;
        min-width: 80px;
    }

    /* Touch-friendly targets */
    .nav-item,
    .filter-btn,
    .action-card {
        min-height: 48px;
    }

    /* Form inputs larger on mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 14px 16px;
    }
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2C5F2D;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .sidebar-overlay {
        display: none !important;
    }
}

/* ===== LOADING STATES (Skeleton Screens) ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #F8E7D0;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 12px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    border-radius: 8px;
}

/* ===== MENU ITEM CARD ENHANCEMENTS ===== */
.menu-item-card {
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.15);
}

.menu-item-card:hover .menu-item-description {
    display: block;
    opacity: 1;
}

.menu-item-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Toggle availability button */
.toggle-availability-btn {
    padding: 8px 12px;
    border: 2px solid #81C784;
    background: #fff;
    color: #81C784;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-availability-btn:hover {
    background: #81C784;
    color: #fff;
}

.toggle-availability-btn[data-available="false"] {
    border-color: #EF5350;
    color: #EF5350;
}

.toggle-availability-btn[data-available="false"]:hover {
    background: #EF5350;
    color: #fff;
}

/* Edit button */
.edit-item-btn {
    padding: 8px 12px;
    border: 2px solid #64B5F6;
    background: #fff;
    color: #64B5F6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-item-btn:hover {
    background: #64B5F6;
    color: #fff;
}

/* Order timeline */
.order-timeline {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    padding: 12px;
    background: #FAFAF5;
    border-radius: 8px;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #999;
}

.timeline-step.completed {
    color: #81C784;
}

.timeline-step.active {
    color: #D9A441;
}

.timeline-step .step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.timeline-step.completed .step-dot {
    background: #81C784;
}

.timeline-step.active .step-dot {
    background: #D9A441;
    animation: pulse 2s infinite;
}

/* Availability badge */
.availability-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.availability-badge.available {
    background: rgba(129, 199, 132, 0.9);
    color: #fff;
}

.availability-badge.unavailable {
    background: rgba(239, 83, 80, 0.9);
    color: #fff;
}

/* Success/Error animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== DASHBOARD SECTION FADE-IN ===== */
.dashboard-section {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-success {
    animation: slideInRight 0.3s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.toast-error {
    animation: shake 0.4s ease-out;
}

/* Order card customer info */
.order-customer-info {
    padding: 12px;
    background: #FAFAF5;
    border-radius: 8px;
    margin-bottom: 12px;
}

.order-customer-info p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.order-customer-info strong {
    color: #2C5F2D;
}

/* Quick availability toggle on card */
.menu-item-quick-toggle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #81C784;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-item-quick-toggle:hover {
    background: #81C784;
    color: #fff;
}

.menu-item-quick-toggle.unavailable {
    border-color: #EF5350;
}

.menu-item-quick-toggle.unavailable:hover {
    background: #EF5350;
}

/* ===== RESPONSIVE STYLES FOR NEW ELEMENTS ===== */

/* Restaurant Profile Preview Responsive */
@media (max-width: 768px) {
    .restaurant-profile-preview {
        padding: 24px;
        border-radius: 16px;
    }

    .restaurant-preview-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .restaurant-preview-logo {
        width: 64px;
        height: 64px;
    }

    .restaurant-preview-logo i {
        font-size: 1.5rem;
    }

    .restaurant-preview-info {
        text-align: center;
    }

    .restaurant-preview-stats {
        flex-direction: column;
        gap: 16px;
    }

    .preview-stat {
        justify-content: center;
    }

    /* Quick Status Toggle Responsive */
    .quick-status-toggle {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }

    .quick-status-toggle .toggle-info {
        flex-direction: column;
        gap: 8px;
    }

    /* Real-time clock hide on mobile */
    .real-time-clock {
        display: none;
    }

    /* Form save indicator */
    .form-save-indicator {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* ===== SECTION ICONS ANIMATION ===== */
.form-section h3 {
    position: relative;
}

.form-section h3:hover::after {
    animation: iconBounce 0.5s ease-out;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== INPUT ICONS ANIMATION ===== */
.input-wrapper:focus-within i {
    animation: iconPulse 0.3s ease-out;
}

@keyframes iconPulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

/* ===== SOCIAL ICONS HOVER EFFECT ===== */
.social-input-group:hover .social-icon {
    transform: translateY(-50%) scale(1.1);
    transition: transform 0.2s ease;
}

/* ===== PREVIEW CARD UPDATE ANIMATION ===== */
.restaurant-profile-preview {
    transition: all 0.3s ease;
}

#previewRestaurantName,
#previewRestaurantTagline {
    transition: all 0.3s ease;
}

/* ===== TOGGLE SWITCH ANIMATION ===== */
.restaurant-toggle-switch .slider {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-toggle-switch .slider::before {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LIVE ORDERS INDICATOR ANIMATION ===== */
.live-orders-indicator {
    animation: slideInLeft 0.5s ease-out, pulse 2s infinite;
}

.live-orders-indicator:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

/* Chwa kliyan an te fè — kuizin nan bezwen wè yo pou prepare bon plat la. */
.order-item-options {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #8F3D20;
    margin-top: 2px;
}

/* ===== ZÒN LIVREZON ===== */
.zones-panel {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    margin-top: 28px;
    box-shadow: 0 2px 12px rgba(43, 35, 32, 0.06);
}

.zones-panel .section-title h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #2E3B2E;
}

.zones-panel .section-title p {
    margin: 6px 0 20px;
    font-size: 14px;
    color: #5B4E44;
}

.zones-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.zone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #F7EFE1;
    border-radius: 12px;
    border-left: 4px solid #47614A;
}

.zone-row.inactive {
    opacity: 0.55;
    border-left-color: #9A9A9A;
}

.zone-row-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.zone-row-main strong {
    font-size: 15px;
    color: #2B2320;
}

.zone-row-meta {
    font-size: 13px;
    color: #5B4E44;
}

.zone-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.zone-toggle {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: #FFFFFF;
    background: #47614A;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.zone-row.inactive .zone-toggle {
    background: #9A9A9A;
}

.zone-delete {
    padding: 6px 10px;
    color: #B5502D;
    background: transparent;
    border: 1px solid #E4C9BC;
    border-radius: 8px;
    cursor: pointer;
}

.zone-delete:hover {
    background: #FBEEE9;
}

.zone-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #EFE1C8;
}

.zone-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.zone-form input {
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #E0D6C2;
    border-radius: 10px;
    background: #FFFFFF;
}

.zone-form input:focus {
    outline: none;
    border-color: #D9A441;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}

.zones-panel .empty-text {
    padding: 18px;
    font-size: 14px;
    color: #5B4E44;
    text-align: center;
    background: #F7EFE1;
    border-radius: 12px;
}

@media (max-width: 640px) {
    .zones-panel {
        padding: 20px 16px;
    }

    .zone-form-row {
        grid-template-columns: 1fr;
    }
}

/* The staff panel reuses the zone panel's shape; only the select differs. */
.zone-form select {
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: #2B2320;
    background: #FFFFFF;
    border: 1px solid #E0D6C2;
    border-radius: 10px;
    cursor: pointer;
}

.zone-form select:focus {
    outline: none;
    border-color: #D9A441;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}

/* ===== MONCASH SETTINGS ===== */
.moncash-status {
    display: inline-block;
    padding: 2px 10px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8F3D20;
    background: rgba(181, 80, 45, 0.12);
    border-radius: 999px;
}

.moncash-status.ready {
    color: #FFFFFF;
    background: #47614A;
}

.moncash-return-url {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    background: #F7EFE1;
    border-radius: 10px;
    min-width: 0;
}

.moncash-return-url label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5B4E44;
}

.moncash-return-url code {
    font-size: 12px;
    color: #2E3B2E;
    overflow-x: auto;
    white-space: nowrap;
}
