body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f8;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.detail-container {
    max-width: 1100px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 제목 */
.detail-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* 작성자 / 시간 */
.detail-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    padding-bottom: 16px;
    border-bottom: 2px solid #000000;
    margin-bottom: 24px;
}

/* 첨부파일 */
.attachment-section {
    margin-bottom: 24px;
}

.attachment-section ul {
    list-style: none;
    padding: 0; /* 여백 제거 */
    margin: 0;
}
.attachment-section a {
    display: inline-block;
    padding: 10px 14px;
    background-color: #eef3ff;
    color: #2f5bea;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.detail-attachment a:hover {
    background-color: #dfe7ff;
}

/* 본문 */
.detail-content {
    font-size: 16px;
    line-height: 1.8;
    min-height: 200px;
    margin-bottom: 40px;
}

/* 하단 버튼 */
.detail-footer {
    text-align: right;
}

.back-btn {
    text-decoration: none;
    font-size: 14px;
    color: #555;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.back-btn:hover {
    background-color: #f0f0f0;
}

.delete-btn {
    margin-left: 10px;
    padding: 8px 14px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    background-color: #e74c3c;
    color: #fff;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #c0392b;
}