/* ✅ 전체 페이지 스타일 (다크 테마 적용) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #181818;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ✅ 컨테이너 스타일 */
.container {
    flex: 1;
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ✅ 제목 스타일 */
h1 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

/* ✅ 입력 폼 스타일 */
textarea {
    width: 90%;
    padding: 15px;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    outline: none;
}

textarea::placeholder {
    color: #aaa;
}

/* ✅ 버튼 스타일 */
.btn {
    background: #6a5acd;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

.btn:hover {
    background: #836fff;
}

/* ✅ 출력 결과 스타일 */
.result {
    width: 90%;
    padding: 15px;
    background: #333;
    border-radius: 10px;
    border: 1px solid #444;
    font-size: 16px;
    color: white;
    text-align: left;
    white-space: pre-wrap;
    margin: 20px auto;
    overflow-wrap: break-word;
}

/* ✅ FAQ 스타일 */
.faq-item {
    background: #222;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #6a5acd;
    margin: 0;
}

.faq-item p {
    font-size: 14px;
    color: #bbb;
    display: none;
    margin-top: 10px;
}

.faq-item.active p {
    display: block;
}

/* ✅ 푸터 스타일 */
footer {
    margin-top: 30px;
    padding: 15px 0;
    background: #222;
    color: #aaa;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

/* ✅ 공통 섹션 스타일 */
.section-box {
    width: 90%; /* 컨테이너와 일관된 너비 */
    background: #222; /* 다크 테마 유지 */
    padding: 20px;
    border-radius: 12px; /* 둥근 모서리 */
    border: 1px solid #444; /* 기존 요소와 통일된 테두리 */
    text-align: left;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ 제목 스타일 */
.section-box h2 {
    font-size: 22px;
    font-weight: 600;
    color: #6a5acd; /* 강조 색상 */
    margin-bottom: 12px;
    
}

/* ✅ 본문 스타일 */
.section-box p,
.section-box li {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

/* ✅ 리스트 스타일 */
.section-box ol {
    padding-left: 20px;
}

.section-box li {
    margin-bottom: 8px;
}

/* ✅ FAQ 스타일 (일관성 유지) */

#faq h2 {
    text-align: center; /* 제목만 중앙 정렬 */
}

.faq-item {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #444;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #6a5acd;
    margin: 0;
}

.faq-item p {
    font-size: 14px;
    color: #bbb;
    display: none;
    margin-top: 10px;
}

.faq-item.active p {
    display: block;
}

.highlight {
    color: #ff4d4d; /* 빨간색 */
    font-weight: bold;
}

textarea::placeholder, 
input::placeholder {
    font-family: 'Noto Sans KR', sans-serif; /* 원하는 글꼴 */
    color: #aaa; /* 색상 변경 */
    font-size: 14px; /* 글자 크기 조정 */
    font-style: italic; /* 기울임 적용 가능 */
    opacity: 1; /* 일부 브라우저에서 투명도 제거 */
}