/* manse_style.css - 만세력 전용 디자인 */

/* 1. 만세력 전용 컨테이너 (이름 변경: container -> manse-container) */
.manse-container { 
    max-width: 650px; 
    margin: 0 auto; 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid #ddd; 
    /* 메인 상단바에 가려지지 않도록 위쪽 여백 추가 (필요시 조정) */
    margin-top: 20px; 
}

/* 2. 입력 폼 스타일 */
.row { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
}
.row label { 
    width: 100px; 
    font-weight: bold; 
    color: #333; 
}
.row input, .row select { 
    flex: 1; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 16px; 
}

/* 3. 버튼 스타일 */
#btnCalc { 
    width: 100%; 
    padding: 15px; 
    background: #333; 
    color: white; 
    border: none; 
    border-radius: 6px; 
    font-size: 18px; 
    cursor: pointer; 
    transition: background 0.3s; 
}
#btnCalc:hover { 
    background: #d94925; 
}

/* 4. 결과 화면 스타일 */
#result { 
    margin-top: 20px; 
    display: none; 
    border-top: 2px solid #333; 
    padding-top: 20px; 
}
.grid { 
    display: flex; 
    justify-content: space-between; 
    text-align: center; 
    margin-bottom: 20px; 
}
.col { 
    width: 23%; 
    background: #f9f9f9; 
    padding: 10px; 
    border-radius: 8px; 
    border: 1px solid #eee; 
}

/* 5. 천간/지지 폰트 및 오행 색상 */
.gan, .ji { 
    font-size: 24px; 
    font-weight: bold; 
    display: block; 
    margin-top: 5px; 
}
.wood { color: blue !important; } 
.fire { color: red !important; }
.earth { color: #d4a017 !important; } 
.metal { color: #666 !important; }
.water { color: black !important; }

/* 6. 대운 및 디버그 메시지 */
.daeun-card { 
    min-width: 60px; 
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
    margin-right: 5px; 
    border-radius: 5px; 
    background: #fff; 
}
#debugMsg { 
    font-size: 12px; 
    color: #555; 
    background: #eee; 
    padding: 12px; 
    margin-top: 20px; 
    border-radius: 5px; 
    line-height: 1.6; 
}