/* Font Setup - Assuming IranSansX is loaded globally by theme, if not, load here */
.betasahm-bell-wrapper, .betasahm-center, .betasahm-follow-btn {
    font-family: 'IranSansX', Tahoma, sans-serif !important;
    direction: rtl;
}

/* --- Follow Button --- */
.betasahm-follow-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}
.betasahm-follow-btn.following {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

/* --- Bell Icon --- */
.betasahm-bell-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.betasahm-bell-wrapper .dashicons {
    font-size: 24px;
    color: #333;
}
.betasahm-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    line-height: 1;
}

/* --- Dropdown --- */
.betasahm-dropdown {
    display: none; /* Toggled via JS */
    position: absolute;
    left: 0; /* Adjust based on header alignment */
    top: 30px;
    width: 300px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}
.betasahm-dropdown.active {
    display: block;
}
.betasahm-drop-header {
    padding: 10px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.betasahm-drop-list {
    max-height: 300px;
    overflow-y: auto;
}

/* --- Notification Items --- */
.betasahm-notif-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    border-right: 3px solid transparent;
}
.betasahm-notif-item:hover {
    background: #fcfcfc;
}
.betasahm-notif-item.unread {
    background: #eef7ff;
}

/* Type Borders */
.betasahm-notif-item.type-system { border-right-color: #2196F3; }
.betasahm-notif-item.type-asset { border-right-color: #FFC107; }
.betasahm-notif-item.type-expiry { border-right-color: #FF9800; }
.betasahm-notif-item.type-admin { border-right-color: #F44336; }
.betasahm-notif-item.priority-critical { background-color: #ffebee; }

.betasahm-notif-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}
.betasahm-notif-body {
    font-size: 12px;
    color: #666;
}
.betasahm-cta-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 8px;
    font-size: 11px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

/* --- Notification Center Page --- */
.betasahm-center {
    max-width: 800px;
    margin: 0 auto;
}
.betasahm-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}
.betasahm-tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.betasahm-tabs button.active {
    border-bottom-color: #2196F3;
    color: #2196F3;
    font-weight: bold;
}
/* Sticky Date Header */
.betasahm-date-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    z-index: 10;
    color: #888;
}
.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}