/**
 * 반응 벨 위젯 (Reactions Bell Widget) 스타일
 *
 * widgets/reaction/reaction-bell.php 에서 사용하는 CSS 스타일입니다.
 */

/* 반응 벨 링크 */
.reaction-bell-link {
    position: relative;
}

/* 반응 뱃지 */
.reaction-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    font-size: 0.6rem;
    padding: 0.15em 0.4em;
    min-width: 1rem;
    line-height: 1;
    transform: none;
}

/* 반응 드롭다운 */
.reaction-dropdown {
    width: 340px;
    max-height: 420px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.reaction-dropdown .dropdown-header {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.reaction-dropdown .dropdown-divider {
    margin: 0;
}

.reaction-dropdown .dropdown-footer {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
}

/* 반응 목록 스크롤 */
.reaction-list {
    max-height: 300px;
    overflow-y: auto;
}

/* 반응 아이템 */
.reaction-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
}

.reaction-item:last-child {
    border-bottom: none;
}

.reaction-item:hover {
    background-color: #f8f9fa;
}

/* 읽지 않은 반응 */
.reaction-unread {
    background-color: #fff0f3;
}

.reaction-unread:hover {
    background-color: #ffe0e6;
}

/* 사용자 아바타 */
.reaction-avatar img {
    object-fit: cover;
}

.reaction-avatar .avatar-placeholder {
    width: 36px;
    height: 36px;
    background-color: #e9ecef;
    color: #6c757d;
    font-size: 1rem;
}

/* 반응 내용 */
.reaction-content {
    flex: 1;
    min-width: 0;
}

.reaction-title {
    font-size: 0.875rem;
    color: #212529;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.reaction-user {
    font-weight: 600;
    color: #495057;
}

.reaction-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* 반응 타입 아이콘 */
.reaction-type-icon {
    font-size: 1rem;
    color: #6c757d;
}
