/*
 * =====================================================
 *  CLIMATE COMPANION — Nature Blue & Green Theme
 *  Climate Companion 로고 기반 자연 테마 오버라이드 CSS
 * =====================================================
 *
 *  [테마 팔레트]
 *  딥 청록         #1B2E3D  (헤더/사이드 배경)
 *  미드 청록       #1A3A4A  (서브 배경, 카드)
 *  라이트 청록     #2A5568  (호버, 구분선)
 *  네이처 그린     #4CAF50  (메인 포인트)
 *  다크 그린       #388E3C  (버튼, hover)
 *  라이트 그린     #81C784  (강조 텍스트)
 *  연한 민트       #E8F5E9  (본문 배경)
 *  오션 블루       #3A7BD5  (보조 강조)
 *  텍스트 다크     #1B3A5C  (본문 텍스트)
 *  텍스트 라이트   #E0F2F1  (밝은 배경 위 텍스트)
 * =====================================================
 */

/* ===== 1. 헤더 — 딥 청록 ===== */
#header-wrap {
    background-color: #1B2E3D !important;
    border-bottom: 2px solid #4CAF50 !important;
}
#header-wrap:before {
    border-bottom: 1px solid #15232E !important;
    background-color: #1B2E3D !important;
}

/* ===== 2. 사이드 네비게이션 — 미드 청록 ===== */
#subNavi {
    background: #1A3A4A !important;
    border-right: 1px solid #4CAF50 !important;
}
.lm-info div.login-on {
    border: 2px solid #4CAF50 !important;
}

/* ===== 3. 로그인 버튼 — 네이처 그린 ===== */
.lm-info .login-btn {
    border: 1px solid #388E3C !important;
    background: #4CAF50 !important;
    color: #fff !important;
}
.LoginNew-Wrap .login-btn {
    background: #4CAF50 !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.LoginNew-Wrap .logout-btn {
    background: #1A3A4A !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}

/* ===== 4. 로그인 정보 텍스트 ===== */
.lm-info div.login-on .stxt {
    color: #4CAF50 !important;
}
.lm-info div.login-on .stxt span {
    color: #4CAF50 !important;
}

/* ===== 5. 구분선 및 보조 텍스트 ===== */
.LoginNew-Wrap .myinfo::before {
    color: #4CAF50 !important;
}
.LoginNew-Wrap .findid::after {
    color: #4CAF50 !important;
}
.LoginNew-Wrap .copy-link::after {
    color: #4CAF50 !important;
}

/* ===== 6. 팝업 타이틀 및 버튼 ===== */
#layer-pop div.pop-title span {
    background: #1B2E3D !important;
    color: #81C784 !important;
}
#layer-pop div.charge-pop .ch-tab {
    background: #4CAF50 !important;
    color: #fff !important;
}
#layer-pop div.charge-pop .bnts a:nth-child(1) {
    background-color: #1B2E3D !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
#layer-pop div.charge-pop .bnts a:nth-child(2) {
    background-color: #4CAF50 !important;
    color: #fff !important;
    margin-left: 3%;
}
#layer-pop div.p2p-pop .bnts a:nth-child(1) {
    background-color: #1B2E3D !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
#layer-pop div.p2p-pop .bnts a:nth-child(2) {
    background-color: #4CAF50 !important;
    color: #fff !important;
    margin-left: 3%;
}
#layer-pop .btn-login a {
    background: #4CAF50 !important;
    color: #fff !important;
    font-weight: 700 !important;
}
#layer-pop .btn-search a {
    background: #4CAF50 !important;
    color: #fff !important;
}
#layer-pop .btn-findid a {
    background: #1A3A4A !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
#layer-pop .btn-findpw a {
    background: #1A3A4A !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}

/* ===== 7. 탭 네비게이션 — 청록 + 그린 활성 ===== */
.NEW_NAV {
    background-color: #1A3A4A !important;
    color: #E0F2F1 !important;
}
.NEW_NAV li {
    border-right: 1px solid #2A5568 !important;
    color: #E0F2F1 !important;
}
.NEW_NAV li:first-child {
    border-left: 1px solid #2A5568 !important;
}
.NEW_NAV li a {
    color: #E0F2F1 !important;
}
.NEW_NAV li:hover {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV li:hover a {
    color: #fff !important;
}
.NEW_NAV .active {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV .active a {
    color: #fff !important;
}
.NEW_NAV2 {
    background-color: #1A3A4A !important;
    color: #E0F2F1 !important;
}
.NEW_NAV2 td {
    border-right: 1px solid #2A5568 !important;
    color: #E0F2F1 !important;
}
.NEW_NAV2 td:first-child {
    border-left: 1px solid #2A5568 !important;
}
.NEW_NAV2 td a {
    color: #E0F2F1 !important;
}
.NEW_NAV2 td:hover {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV2 td:hover a {
    color: #fff !important;
}
.NEW_NAV2 .active {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV2 .active a {
    color: #fff !important;
}
.NEW_NAV3 {
    background-color: #1A3A4A !important;
    color: #E0F2F1 !important;
}
.NEW_NAV3 td {
    border-right: 1px solid #2A5568 !important;
    background-color: #1A3A4A !important;
    color: #C8E6C9 !important;
    font-weight: 600 !important;
}
.NEW_NAV3 td:first-child {
    border-left: 1px solid #2A5568 !important;
    background-color: #1A3A4A !important;
}
.NEW_NAV3 td a {
    color: #C8E6C9 !important;
    font-weight: 600 !important;
}
.NEW_NAV3 td:hover {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV3 td:hover a {
    color: #fff !important;
}
.NEW_NAV3 .active {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.NEW_NAV3 .active a {
    color: #fff !important;
}

/* ===== 8. 메인 포인트 색상 ===== */
.msec-game li .point {
    color: #388E3C !important;
}
.msec-game li .point2 {
    color: #388E3C !important;
}
.msec-game li .point2 span {
    color: #388E3C !important;
}

/* ===== 9. 메인 소개 섹션 ===== */
.msec-intro li .point {
    background: #E8F5E9 !important;
    border: 1px solid #4CAF50 !important;
}
.msec-intro li .point span {
    color: #388E3C !important;
}

/* ===== 10. Today's Price — 그린 배경 ===== */
.todayprice-wrap {
    background-color: #4CAF50 !important;
    border: 1px solid #388E3C !important;
}
.todayprice-wrap .price {
    color: #E8F5E9 !important;
}

/* ===== 11. 콘텐츠 버튼 — 그린 계열 ===== */
.fixwidth .fixwidth-R a {
    background-color: #1B2E3D !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
.btn-confirm a {
    background-color: #4CAF50 !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.btn-copy a {
    background-color: #1A3A4A !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
.btn-search a {
    background-color: #4CAF50 !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.btn-calc a {
    background-color: #1A3A4A !important;
    color: #81C784 !important;
    border: 1px solid #4CAF50 !important;
}
.btn-confirm.buy a {
    background-color: #4CAF50 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* ===== 12. 라디오/체크박스 — 그린 ===== */
.Buy-list .bd-A .radiobox input:checked {
    background: #4CAF50 !important;
}
.withdrawal .radiobox input:checked {
    background: #4CAF50 !important;
}
.RadioDefault .radiobox input:checked {
    background: #4CAF50 !important;
}

/* ===== 13. 결과 텍스트 — 그린 ===== */
.Buy-list .check .result {
    color: #4CAF50 !important;
}
.Buy-list .check .result2 {
    color: #4CAF50 !important;
}
.Buy-list-p2p .check .result {
    color: #4CAF50 !important;
}
.Buy-list-p2p .check .result2 {
    color: #4CAF50 !important;
}
#charge {
    color: #4CAF50 !important;
}

/* ===== 14. 트랜잭션 타이틀 ===== */
.Buy-list .check .transaction .title,
.Buy-list-p2p .check .transaction .title {
    background-color: #1B2E3D !important;
    color: #81C784 !important;
}

/* ===== 15. 테이블 보더 및 텍스트 ===== */
.table-01 table {
    border-top: 4px solid #1B2E3D !important;
}
.table-01 .date_in {
    color: #388E3C !important;
}
.table-02 table {
    border-top: 4px solid #1B2E3D !important;
}
.table-02 table tr td:nth-child(1) {
    color: #388E3C !important;
}

/* ===== 16. 카테고리 활성 상태 ===== */
.category .on {
    background-color: #1B2E3D !important;
    border-color: #4CAF50 !important;
    color: #81C784 !important;
}
.category-p2p .on {
    background-color: #1B2E3D !important;
    border-color: #4CAF50 !important;
    color: #81C784 !important;
}
.category2 .on {
    background-color: #1B2E3D !important;
    border-color: #4CAF50 !important;
    color: #81C784 !important;
}

/* ===== 17. 자동 버튼 ===== */
.auto .auto-button-selected {
    background-color: #4CAF50 !important;
    color: #fff !important;
    border-color: #388E3C !important;
}
.auto .auto-button-selected:hover {
    background-color: #388E3C !important;
    color: #E8F5E9 !important;
}

/* ===== 18. 스타 버튼 ===== */
.star-button {
    background-color: #4CAF50 !important;
    border-color: #388E3C !important;
    color: #fff !important;
}
.star2-button {
    background-color: #1A3A4A !important;
    border-color: #4CAF50 !important;
    color: #81C784 !important;
}

/* ===== 19. 게임 베팅 버튼 ===== */
.game-wrap .betBox1 .bottom .btn100 {
    background-color: #4CAF50 !important;
    color: #fff !important;
    border-color: #388E3C !important;
}
.PC_btn_a03_af {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

/* ===== 20. 테이블 헤더 ===== */
.table-01 table thead tr th,
.table-02 table thead tr th {
    background: #1B2E3D !important;
    color: #E0F2F1 !important;
    border-right: 1px solid #2A5568 !important;
    font-weight: 600 !important;
}
.table-01 table tbody tr:nth-child(even) td,
.table-02 table tbody tr:nth-child(even) td {
    background: #E8F5E9 !important;
}

/* ===== 21. 박스리스트 테이블 ===== */
table.tb-boxlist tr td {
    border-bottom: 1px solid #4CAF50 !important;
}
table.tb-boxlist tr td:nth-child(1) span {
    border: 2px solid #388E3C !important;
    background-color: #4CAF50 !important;
    color: #fff !important;
}
table.tb-boxlist .boxlist-head {
    color: #fff !important;
    background-color: #4CAF50 !important;
}

/* ===== 22. 선택 강조 색상 ===== */
::selection {
    background: #4CAF50;
    color: #fff;
}
::-moz-selection {
    background: #4CAF50;
    color: #fff;
}

/* ===== 23. 링크 호버 색상 ===== */
a:hover {
    color: #4CAF50;
}

/* ===== 24. 입력 폼 포커스 색상 ===== */
input:focus,
textarea:focus,
select:focus {
    outline-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.2) !important;
}

/* ===== 25. 스크롤바 스타일 ===== */
::-webkit-scrollbar-thumb {
    background: #4CAF50;
}
::-webkit-scrollbar-thumb:hover {
    background: #388E3C;
}
::-webkit-scrollbar-track {
    background: #E8F5E9;
}

/* ===== 26. 메인 배경색 ===== */
body#main {
    background-color: #1B2E3D !important;
}

/* ===== 27. styleDefault 오버라이드 ===== */
#skipNavi .skipLink:focus,
#skipNavi .skipLink:active {
    background: #1B2E3D !important;
    color: #81C784 !important;
}
.chk-radio input[type="radio"]:checked + label:before {
    background: #4CAF50 !important;
}
.chk-check input[type="checkbox"]:checked + label:after {
    border-color: #4CAF50 !important;
}
.chk-check input[type="checkbox"]:checked + label {
    color: #4CAF50 !important;
}
.bl-btn {
    background: #4CAF50 !important;
    border: 1px solid #388E3C !important;
    color: #fff !important;
}
.br-btn {
    background: #1B2E3D !important;
    border: 1px solid #4CAF50 !important;
    color: #81C784 !important;
}

/* ===== 28. 사이드 메뉴 배경 ===== */
.leftmenu {
    background: #fff !important;
    border: 1px solid #4CAF50 !important;
}
.leftmenu-p2p {
    background: #fff !important;
    border: 1px solid #4CAF50 !important;
}
.lm-info {
    background: #fff !important;
    border: 1px solid #4CAF50 !important;
}
.leftmenu li {
    border-bottom: 1px solid #E8F5E9 !important;
}
.leftmenu li:hover {
    background-color: #E8F5E9 !important;
}
.leftmenu li.on,
.leftmenu li.active {
    background-color: #E8F5E9 !important;
    border-left: 3px solid #4CAF50 !important;
}

/* ===== 29. 팝업 아이콘 레이아웃 ===== */
#layer-pop .pop-box {
    overflow: visible !important;
}
#layer-pop .pop-title {
    padding-top: 55px !important;
}
#layer-pop .pop-title img {
    position: absolute !important;
    top: -60% !important;
    left: -18% !important;
    z-index: 10 !important;
    transform: none !important;
}

/* ===== 30. 입력 폼 ===== */
input, textarea {
    border-color: #2A5568 !important;
}
select {
    border: 1px solid #4CAF50 !important;
    border-radius: 4px !important;
    color: #1B3A5C !important;
}
.chk-input input {
    border: 1px solid #4CAF50 !important;
    color: #1B3A5C !important;
}
.chk-select {
    border: 1px solid #4CAF50 !important;
    border-radius: 4px !important;
}
.chk-select select {
    color: #1B3A5C !important;
    border: none !important;
}

/* ===== 31. 블루 포인트 강조 ===== */
.point-red,
.badge-red,
.alert-red {
    color: #3A7BD5 !important;
}
.bg-red-point {
    background-color: #3A7BD5 !important;
    color: #fff !important;
}

/* ===== 32. placeholder 색상 ===== */
input::placeholder,
textarea::placeholder {
    color: #6B8A9A !important;
    font-style: italic;
}
#layer-pop input::placeholder,
#layer-pop textarea::placeholder {
    color: #6B8A9A !important;
}

/* ===== 33. 로고 컨테이너 최적화 ===== */
@media only screen and (max-width: 680px) {
    #logo {
        width: 240px !important;
        margin-left: -120px !important;
    }
    #logo a {
        width: 240px !important;
        background-size: 100% !important;
    }
    #logo-p2p {
        width: 240px !important;
        margin-left: -120px !important;
    }
    #logo-p2p a {
        width: 240px !important;
        background-size: 100% !important;
    }
}
@media only screen and (max-width: 480px) {
    #logo {
        width: 200px !important;
        margin-left: -100px !important;
    }
    #logo a {
        width: 200px !important;
        background-size: 100% !important;
    }
    #logo-p2p {
        width: 200px !important;
        margin-left: -100px !important;
    }
    #logo-p2p a {
        width: 200px !important;
        background-size: 100% !important;
    }
}

/* ===== 34. 이미지 가운데 정렬 ===== */
.mcont01 > a:first-child {
    display: block !important;
    text-align: center !important;
}
.mcont01 > a:first-child img {
    display: block !important;
    margin: 0 auto !important;
}
#logo a {
    background-position: center center !important;
}
#logo-p2p a {
    background-position: center center !important;
}
.main-title {
    text-align: center !important;
}
.main-title img {
    display: block !important;
    margin: 0 auto !important;
}
.todayprice-wrap .icon {
    text-align: center !important;
}
.todayprice-wrap .icon img {
    display: block !important;
    margin: 0 auto !important;
}

/* ===== 35. .auto .buy-img img 위치 수정 ===== */
.auto .buy-img img {
    left: 0px !important;
}

/* ===== 36. .language 드롭다운 ===== */
.language ul.flag {
    background: #1A3A4A !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #4CAF50 !important;
    border-top: 2px solid #4CAF50 !important;
}
.language ul.flag li {
    border-bottom: 1px solid rgba(76, 175, 80, 0.2) !important;
    margin: 0 !important;
    padding: 4px 8px !important;
}
.language ul.flag li:last-child {
    border-bottom: none !important;
}
.language ul.flag li a {
    border: 1px solid #4CAF50 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    transition: box-shadow 0.15s ease, transform 0.15s ease !important;
}
.language ul.flag li a:hover {
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.7) !important;
    transform: scale(1.04) !important;
}

/* ===== 37. 모바일 사이드 메뉴 로고 크기 ===== */
@media only screen and (max-width: 680px) {
    .lm-top h2  { background-size: 250px auto !important; }
    .lm-top2 h2 { background-size: 90px auto !important; }
    #logo {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }
    #logo-p2p {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }
}
@media only screen and (max-width: 480px) {
    #logo {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }
    #logo-p2p {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }
}

/* ===== 38. 푸터 — 딥 청록 ===== */
#footer-wrap2 {
    background: #122A35 !important;
}
#footer2 .copy {
    color: #81C784 !important;
}
