/**
 * Admin Order Notification Styling
 *
 * @package YeeMenu
 */

.yeemenu-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    border-left: 5px solid #007cba;
    padding: 15px;
    animation: yeemenu-slide-in 0.3s ease-out;
}

.yeemenu-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.yeemenu-notification-icon {
    background: #f0f6fb;
    color: #007cba;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yeemenu-notification-body {
    flex: 1;
}

.yeemenu-notification-title {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.yeemenu-notification-message {
    margin: 0 0 12px;
    font-size: 13px;
    color: #50575e;
}

.yeemenu-notification-link {
    text-decoration: none;
    font-size: 12px;
}

.yeemenu-notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #a7aaad;
    padding: 0;
    margin-left: 10px;
}

.yeemenu-notification-close:hover {
    color: #d63638;
}

@keyframes yeemenu-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Order Columns Styling */

.yeemenu-col-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.yeemenu-col-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

/* Service Type Colors */
.yeemenu-col-badge--delivery {
    background-color: #e0f2fe;
    color: #0369a1;
}

.yeemenu-col-badge--takeaway {
    background-color: #fef3c7;
    color: #92400e;
}

.yeemenu-col-badge--dine_in {
    background-color: #fce7f3;
    color: #be185d;
}

/* Branch & Guests */
.yeemenu-col-badge--branch {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.yeemenu-col-badge--guests {
    background-color: #f0fdf4;
    color: #15803d;
}

.yeemenu-col-badge--empty {
    color: #9ca3af;
}

/* Time Slot Column */
.yeemenu-timeslot-col {
    display: flex;
    flex-direction: column;
}

.yeemenu-timeslot-time {
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}

.yeemenu-timeslot-countdown {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 2px;
}

.yeemenu-timeslot--active {
    color: #dc2626;
}

.yeemenu-timeslot--upcoming {
    color: #059669;
}

.yeemenu-timeslot--overdue {
    color: #6b7280;
}

/* Filter Styling */
#yeemenu_service_filter,
#yeemenu_branch_filter,
#yeemenu_timeslot_filter {
    margin-right: 5px;
}

#yeemenu_timeslot_date {
    vertical-align: middle;
    margin-right: 5px;
    height: 30px;
    padding: 0 8px;
}

/* Chef View Active Button */
.yeemenu-chef-active {
    background: #22c55e !important;
    border-color: #16a34a !important;
    box-shadow: 0 2px 0 #15803d !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.yeemenu-chef-active:hover {
    background: #16a34a !important;
}

/* Quick Actions Column */
.yeemenu-quick-actions {
    display: flex;
    gap: 5px;
}

.yeemenu-quick-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 26px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.yeemenu-quick-action .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.yeemenu-action-serve {
    border-color: #22c55e !important;
    color: #15803d !important;
}

.yeemenu-action-serve:active,
.yeemenu-action-serve:focus {
    border-color: #16a34a !important;
    color: #16a34a !important;
}

.yeemenu-action-serve:hover {
    background: #f0fdf4 !important;
    border-color: #16a34a !important;
    color: #16a34a !important;
}

.yeemenu-action-skip {
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

.yeemenu-action-skip:hover {
    background: #fef2f2 !important;
    border-color: #dc2626 !important;
    color: #991b1b !important;
}

.yeemenu-quick-action.working {
    opacity: 0.6;
    cursor: wait;
}
