/* 기본 스타일 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 25px;
    position: relative; /* 언어 선택기 위치 기준 */
}

/* --- 언어 선택 버튼 스타일 --- */
#language-selector {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 5px;
}

.lang-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #555;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8em;
    transition: all 0.2s ease;
}

.lang-btn:hover, .lang-btn.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}
/* --- --- */


h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

p {
    color: #7f8c8d;
    font-size: 0.9em;
}


/* 버튼 그룹 구조화 */
.options {
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.option-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.option-group label {
    font-weight: bold;
    margin-right: 15px;
    width: 80px;
    color: #34495e;
}

.option-btn {
    background-color: #ecf0f1;
    color: #34495e;
    border: 2px solid #bdc3c7;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.option-btn:hover {
    background-color: #dadedf;
}

.option-btn.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

#generate-btn, #copy-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.2s ease;
}

#generate-btn:hover, #copy-btn:hover {
    background-color: #27ae60;
}

/* 체크리스트 섹션 */
.checklist {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.checklist h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.checklist ul {
    list-style-type: none;
    padding: 0;
}

.checklist li {
    background-color: #fdfdfd;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    border: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.checklist input[type="checkbox"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
}

.checklist label {
    font-size: 1.05em;
}


/* 푸터 */
footer {
    text-align: center;
    margin-top: 30px;
    color: #95a5a6;
    font-size: 0.8em;
}

footer p {
    margin: 5px 0;
}
