/**
 * 알림 벨 위젯 스타일
 *
 * 이 파일은 widgets/notification/notification-bell.php 에서 사용됩니다.
 */

/* 알림 벨 링크 */
.notification-bell-link {
    position: relative;
}

/* 알림 뱃지 */
.notification-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    font-size: 0.6rem;
    padding: 0.15em 0.4em;
    min-width: 1rem;
    line-height: 1;
    transform: none;
}

/* 알림 드롭다운 */
.notification-dropdown {
    width: 320px;
    max-height: 400px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.notification-dropdown .dropdown-header {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.notification-dropdown .dropdown-divider {
    margin: 0;
}

.notification-dropdown .dropdown-footer {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
}

/* 알림 목록 스크롤 */
.notification-list {
    max-height: 280px;
    overflow-y: auto;
}

/* 알림 아이템 */
.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

/* 읽지 않은 알림 */
.notification-unread {
    background-color: #e7f1ff;
}

.notification-unread:hover {
    background-color: #d4e6ff;
}

/* 알림 아이콘 */
.notification-icon {
    font-size: 1rem;
    color: #6c757d;
}

/* 알림 내용 */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.notification-message {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 0.75rem;
    color: #adb5bd;
}
