/* Continue from existing styles */

/* ======================================================= */
/* ====== 23. NOTIFICATION BELL & DROPDOWN ====== */
/* ======================================================= */
.notification-bell {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s var(--apple-spring);
}

.notification-bell:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.notification-bell i {
    font-size: 1.3rem;
    color: #333;
}

.notification-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #d62300;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.notification-dropdown {
    position: fixed;
    top: 72px;
    right: 20px;
    width: 320px;
    max-height: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 15001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-header {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.mark-all-read {
    background: none;
    border: none;
    color: #d62300;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.notification-item {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f0f0f0;
}

.notification-item.unread {
    background: #fff5f5;
    border-left: 3px solid #d62300;
}

.notification-item .notif-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.notification-item .notif-body {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.notification-item .notif-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 6px;
}

/* ======================================================= */
/* ====== 25. ORDER HISTORY MODAL ====== */
/* ======================================================= */
.history-content {
    height: auto;
    max-height: 85vh;
    border-radius: 25px;
    background: #f8f9fa;
}

.history-header {
    background: white;
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin: 0;
}

.history-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.order-history-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.2s;
}

.order-history-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.order-id {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
}

.order-date {
    font-size: 0.75rem;
    color: #888;
}

.order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.order-status-badge.delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status-badge.preparing {
    background: #fff3e0;
    color: #e65100;
}

.order-items-list {
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
}

.order-item-name {
    color: #555;
}

.order-item-price {
    font-weight: 600;
    color: #111;
}

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

.order-total {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

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

.order-reorder-btn {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
    transition: all 0.2s;
}

.order-reorder-btn {
    background: #d62300;
    color: white;
}

.order-reorder-btn:hover {
    background: #b81d00;
    transform: scale(1.05);
}

.order-reorder-btn:active {
    transform: scale(0.95);
}

/* View All Orders Button */
.view-all-orders-btn {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s var(--apple-spring);
}

.view-all-orders-btn:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.view-all-orders-btn:active {
    transform: scale(0.95);
}

