@charset "utf-8";



/* 알림 콘텐츠 컨테이너 */
.notification-wrapper {
    width: 100%;

    margin: 16px 0;




}

/* 알림 헤더 */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}




.notification-header .edit-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    background-color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.notification-header .cencel-btn {
    display: inline-block;
    background-color: #fff;
    color: #222;
    padding: 6px 16px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;

}


/* 알림 리스트 */
.notification ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: background-color 0.2s ease;

}




.notification:hover {
    background-color: #f1f1f1;
}

.notification.unread {
    background-color: #fff8e1;
}

.notification-content {
    flex: 3;
    margin-right: 20px;
}

.notification-content h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
}

.notification-content p {
    font-size: 1em;
    color: #666;
}

.notification-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.notification-meta span {
    font-size: 1em;
    color: #888;
    margin-bottom: 10px;
}

.notification-meta .mark-read {
    background: #4caf50;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 라인 스타일 */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    /* 위아래 간격 */
    position: relative;
}

/* 라인 */
.divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
    /* 선 색상 */
    margin-right: 10px;
}

/* 텍스트 스타일 */
.divider-text {
    font-size: 1em;
    color: #888;
    /* 텍스트 색상 */
    white-space: nowrap;
    /* 텍스트가 줄바꿈되지 않도록 */
}

/* 라인 (오른쪽) */
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
    /* 선 색상 */
    margin-left: 10px;
}

.notification-empty {

    margin: 20px auto;
    padding: 20px;
    text-align: center;

}

/* 데이터가 없을 때 보여줄 메시지 */
.notification-empty span {
    font-size: 16px;
    color: #999;
    padding: 20px 0;
}

/* 팝업 오버레이 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* 팝업 내용 */
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

/* 닫기 버튼 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

/* 메시지 제목 */
.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* 옵션 버튼들 */
.popup-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-option {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    transition: background 0.3s ease;
}

.popup-option:hover {
    background: #ffe6e6;
    color: #d9534f;
}

/* 확인 버튼 */
.confirm-btn {
    background: #f4a460;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

.confirm-btn:hover {
    background: #e58a38;
}
