.kb-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px);
    display: none; justify-content: center; align-items: center; z-index: 1000;
}
.kb-modal-content {
    background-color: white; padding: 30px; border-radius: 16px;
    width: 90%; max-width: 600px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative; display: flex; flex-direction: column;
}
.kb-modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; padding: 5px; color: #999; }
.kb-modal-title { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 20px; border-bottom: 2px solid #f1f3f5; padding-bottom: 15px; }
.kb-modal-body { max-height: 300px; overflow-y: auto; font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; background-color: #f9f9f9; padding: 15px; border-radius: 8px; }
.kb-modal-footer { display: flex; justify-content: flex-end; gap: 10px; }
.kb-modal-btn { padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; border: none; }
.kb-btn-secondary { background-color: #f1f3f5; color: #555; }
.kb-btn-primary { background-color: var(--primary-color); color: white; }


/* 🌟 약관 내용 스타일링 (가독성 UP) */
.kb-modal-body h3 {
    font-size: 16px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    border-left: 4px solid #337cf4; /* 파란색 강조 선 */
    padding-left: 10px;
}

.kb-modal-body h3:first-child {
    margin-top: 0;
}

.kb-modal-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.kb-modal-body ul,
.kb-modal-body ol {
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.kb-modal-body li {
    margin-bottom: 5px;
}

/* 스크롤바 예쁘게 */
.kb-modal-body::-webkit-scrollbar {
    width: 6px;
}
.kb-modal-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}