.side-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: #ffffff;
    border-left: 2px solid #ccc;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 2000;
}

.side-panel.show {
    transform: translateX(0);
}

.hidden {
    display: none !important;
}

.panel-row {
    margin: 12px 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#panel-close {
    cursor: pointer;
}

/* Alert Entry Cards */
.alert-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e2e8f0;
}

.alert-card.b2c { border-left: 6px solid #ff7a00; } /* Retail Orange */
.alert-card.b2b { border-left: 6px solid #00aeff; } /* Wholesale Blue */

.alert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.alert-card-meta { font-size: 0.9rem; color: #444; }

.alert-card-items {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #cbd5e1;
}

.hide-alert-btn {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.9rem;
    padding: 8px;
    width: 100%;
    margin-top: 5px;
    border-radius: 8px;
}
.hide-alert-btn:hover { background-color: #cbd5e1; }