/* Jobseeker notification wrapper keeps dropdown positioned correctly */
.jobseeker-notification {
    position: relative;
    margin-right: 24px;
}

/* Notification bell button styling with pointer cursor for interactivity */
.jobseeker-notification .notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 20%;
    border: none;
    background: #f3f6fb;
    color: #1068b6;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Maintain hover/focus feedback on the bell */
.jobseeker-notification .notification-bell:hover,
.jobseeker-notification .notification-bell:focus {
    background: #e2ecf9;
    color: #0a4c88;
    outline: none;
}

/* Provide a visible focus ring for keyboard users */
.jobseeker-notification .notification-bell:focus-visible {
    box-shadow: 0 0 0 3px rgba(16, 104, 182, 0.3);
}

/* Badge uses elevated z-index so it renders above the bell icon */
.jobseeker-notification .notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff5a5f;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    z-index: 2;
}

/* Dropdown widened for comfortable content display */
.jobseeker-notification .notification-dropdown {
    position: absolute;
    top: 56px;
    right: 0;
    width: 380px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(15, 41, 77, 0.18);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}

/* Dropdown caret indicator */
.jobseeker-notification .notification-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -4px -4px 12px rgba(15, 41, 77, 0.05);
}

/* Show state for dropdown */
.jobseeker-notification .notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header styling */
.jobseeker-notification .notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.jobseeker-notification .notification-header h6 {
    margin: 0;
    font-size: 15px;
    color: #0f294d;
    font-weight: 700;
}

/* Mark-as-read button */
.jobseeker-notification .notification-mark-read {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    color: #1068b6;
    font-weight: 600;
    cursor: pointer;
}

.jobseeker-notification .notification-mark-read:hover,
.jobseeker-notification .notification-mark-read:focus {
    text-decoration: underline;
    outline: none;
}

.jobseeker-notification .notification-mark-read[disabled] {
    color: #a6b4c6;
    cursor: not-allowed;
    text-decoration: none;
}

/* Empty state messaging */
.jobseeker-notification .notification-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #6c7a91;
}

.jobseeker-notification .notification-empty p {
    margin: 0;
}

/* Notification list layout */
.jobseeker-notification .notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jobseeker-notification .notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fbff;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.jobseeker-notification .notification-item:hover,
.jobseeker-notification .notification-item:focus {
    background: #eaf3ff;
    box-shadow: inset 0 0 0 1px rgba(16, 104, 182, 0.12);
}

.jobseeker-notification .notification-item.is-read {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(15, 41, 77, 0.06);
}

.jobseeker-notification .notification-item.is-read .notification-text {
    color: #6c7a91;
}

/* Avatar circle */
.jobseeker-notification .notification-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1068b6, #28a9e0);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notification text content */
.jobseeker-notification .notification-content {
    flex: 1;
}

.jobseeker-notification .notification-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0f294d;
}

.jobseeker-notification .notification-text {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #0f294d;
}

.jobseeker-notification .notification-text strong {
    font-weight: 700;
}

.jobseeker-notification .notification-time {
    font-size: 12px;
    color: #6c7a91;
}
