/* 기본 스타일 초기화 */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
}

/* 헤더 스타일 */
header {
    background-color: #1E293B;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 15px;
    padding-bottom: 5px;
    min-height: 80px;
}

header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

/* ▼▼▼ [수정됨] 카운터 위치 상향 및 텍스트 표시 ▼▼▼ */
.visitor-counter {
    position: absolute;
    top: 0px;      /* 헤더 맨 위로 올림 */
    left: 20px;
    z-index: 10;
    transform: scale(0.9); /* 전체 크기 약간 축소 */
    transform-origin: top left;
}

/* 'Counters' 텍스트를 숨기지 않고 작고 하얗게 표시 (오류 방지) */
.visitor-counter a {
    color: rgba(255, 255, 255, 0.5); /* 반투명 흰색으로 덜 눈에 띄게 */
    font-size: 10px;                 /* 아주 작은 글씨 */
    text-decoration: none;
}
/* ▲▲▲ 여기까지 ▲▲▲ */


/* 메인 컨테이너 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 정보 박스 스타일 */
.info-box {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
}

/* 텍스트 편집 영역 */
.editor-area {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.text-box label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

textarea {
    width: 100%;
    height: 400px;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
}

textarea#output-text {
    background-color: #F8FAFC;
}

#copy-button {
    background-color: #1E293B;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

#copy-button:hover {
    background-color: #334155;
}

/* 상태 표시줄 */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    color: #64748B;
    font-size: 14px;
}

/* 언어 선택 버튼 스타일 */
.lang-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 450px;
}

.lang-switcher button {
    background-color: #475569;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.lang-switcher button:hover {
    background-color: #64748B;
}

.lang-switcher button.active {
    background-color: #F1F5F9;
    color: #1E293B;
    font-weight: 700;
}

/* 모바일 화면 조정 */
@media (max-width: 768px) {
    .lang-switcher {
        max-width: none;
        justify-content: center;
        position: static;
        margin-top: 15px;
    }
    
    header {
        padding-top: 70px;
        padding-bottom: 20px;
        padding-right: 0;
    }

    .visitor-counter {
        top: 10px;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        width: auto;
        text-align: center;
    }
}

/* 프로그램 홍보 섹션 스타일 */
.info-divider {
    border: 0;
    height: 1px;
    background-color: #E2E8F0;
    margin: 20px 0 18px 0;
}

.program-promo p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.program-promo p:first-of-type {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.promo-links {
    padding-left: 20px;
    margin-top: 15px;
}

.promo-links li {
    margin-bottom: 10px;
}

.promo-links a {
    color: #1D4ED8;
    font-weight: 500;
    text-decoration: underline;
}
```eof