/* nlog 블로그 주제 항목 스타일 */

.Subject_Block {
    background: #fafafa;
    border-bottom: 1px solid #ccc;
    padding: 19.2px 38.4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 19.2px;
}

.Subject_Left {
    display: flex;
    align-items: center;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}

/* 아이콘 리스트 */
.Icon_List {
    margin-right: 19.2px;
}

.Icon_List img {
    width: 76.8px;
    border-radius: 50%;
}

/* 공지 텍스트 */
.Notice_Text {
    background: #222;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 숨김 텍스트 */
.Hide_Text {
    background: #f00;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 비밀 텍스트 */
.Secret_Text {
    background: #222;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    margin-right: 9.6px;
}

/* 편집 텍스트 */
.Edit_Text {
    background: #002291;
    color: #fff;
    padding: 5.76px 40px;
    border-radius: 5px;
    margin-right: 9.6px;
    transition: background-color 0.3s, color 0.3s;
}

.Edit_Text:hover {
    background: #3340f8;
    transition: background-color 0.3s, color 0.3s;
}

/* 삭제 텍스트 */
.Delete_Text {
    background: #dc3545;
    color: #fff;
    padding: 5.76px 19.2px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.Delete_Text:hover {
    background: #c82333;
    transition: background-color 0.3s, color 0.3s;
}

/* 주제 블록 */
.Subject_Text {
    color: #333;
    font-size: 19.2px;
    font-weight: bold;
}

.Subject_Right {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 19.2px;
    text-align: right;
}

/* 삭제 확인 모달 */
.delete-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.delete-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delete-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.delete-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.delete-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.delete-modal-close:hover {
    color: #333;
}

.delete-modal-body {
    padding: 20px;
    color: #333;
}

.delete-modal-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.delete-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.delete-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.delete-modal-btn.cancel {
    background-color: #f0f0f0;
    color: #333;
}

.delete-modal-btn.cancel:hover {
    background-color: #e0e0e0;
}

.delete-modal-btn.confirm {
    background-color: #dc3545;
    color: #fff;
}

.delete-modal-btn.confirm:hover {
    background-color: #c82333;
}

/* 반응형 디자인 */

@media (max-width: 1200px) {
    .Subject_Block {
        padding: 15.36px 28.8px;
    }

    .Subject_Text {
        font-size: 18px;
    }

    .Subject_Right {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .Subject_Block {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 19.2px;
        gap: 10px 12px;
    }

    .Subject_Left {
        width: 100%;
    }

    .Icon_List {
        margin-right: 12px;
    }

    .Icon_List img {
        width: 60px;
    }

    .Subject_Text {
        font-size: 16px;
    }

    .Subject_Right {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        flex-wrap: wrap;
        gap: 8px 10px;
        text-align: left;
    }

    .Subject_Right div {
        flex: 1 1 auto;
        min-width: 150px;
    }

    .Subject_Right div:last-child {
        flex: 0 0 100%;
    }

    .Notice_Text,
    .Hide_Text,
    .Secret_Text {
        padding: 4.8px 12px;
        font-size: 12px;
        margin-right: 6px;
    }

    .Edit_Text,
    .Delete_Text {
        padding: 4.8px 12px;
        font-size: 12px;
        margin-right: 6px;
    }

    .delete-modal-content {
        width: 95%;
        max-width: 350px;
    }

    .delete-modal-header {
        padding: 15px;
    }

    .delete-modal-header h2 {
        font-size: 18px;
    }

    .delete-modal-body {
        padding: 15px;
    }

    .delete-modal-body p {
        font-size: 14px;
    }

    .delete-modal-footer {
        padding: 15px;
        gap: 8px;
    }

    .delete-modal-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .Subject_Block {
        padding: 10px 12px;
        gap: 8px 10px;
    }

    .Icon_List {
        margin-right: 10px;
    }

    .Icon_List img {
        width: 48px;
    }

    .Subject_Text {
        font-size: 14px;
    }

    .Subject_Right div {
        min-width: 100%;
        font-size: 12px;
    }

    .Notice_Text,
    .Hide_Text,
    .Secret_Text {
        padding: 3.6px 10px;
        font-size: 10px;
        margin-right: 4px;
    }

    .Edit_Text,
    .Delete_Text {
        padding: 3.6px 10px;
        font-size: 10px;
        margin-right: 4px;
    }

    .delete-modal-content {
        width: 95%;
        max-width: 300px;
    }

    .delete-modal-header {
        padding: 12px;
    }

    .delete-modal-header h2 {
        font-size: 16px;
    }

    .delete-modal-close {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }

    .delete-modal-body {
        padding: 12px;
    }

    .delete-modal-body p {
        font-size: 13px;
    }

    .delete-modal-footer {
        padding: 12px;
        gap: 6px;
    }

    .delete-modal-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
