/* ------------------------------
   초기화 및 기본 설정
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-size: 16px;
    color: #333;
    background-color: #fff;
    line-height: 1.4;
}

/* 다크모드 기본 텍스트 색상 */
body.theme-dark {
    color: var(--text-main, #E2E8F0);
}

/* ------------------------------
   공통 레이아웃
------------------------------ */
.wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px; /* 필요 시 조정 */
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

/* ------------------------------
   헤더 영역 — 사이트 헤더 전용. 맨몸 header 셀렉터였을 때 문서 모달 헤더·챗봇 헤더 등
   페이지 안의 다른 <header>까지 column 정렬을 뒤집어썼다(footer와 같은 지뢰).
------------------------------ */
header.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 상단 로고, 로그인/회원가입 */
.header-top-section {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

.header-top-div {
    max-width: 1200px;
    min-height: 55px;
    box-sizing: border-box;
    margin: 22px auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.logo a img {
    display: block;
    margin-right: 80px;
}

.partner-login-text {
    color: #1b1b1b;
}

.login-text {
    border: solid 1px #074491;
    border-radius: 6px;
    color: #074491;
    padding: 11px 14px 10px 15px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.login-text:hover {
    background-color: #1f95d41e;
}

/* 로그인 메뉴 스타일은 components/login-menu.blade.php에서 관리 */

/* 헤더 최상단 fixed 영역 */
.main-nav {
    position: relative;
    width: 100%;
    padding: 18px 0 18px 0;
    background-color: #074491;
    font-size: 16px;
    color: #eaedef;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: 30px;
    cursor: pointer;
}

.main-nav-text {
    gap: 7px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 헤더 검색창 스타일 시작 */
.search-header {
    width: 500px;
}

.search-form-container {
    width: 500px;
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
    border: 2px solid #074491;
    border-radius: 8px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.cancel-icon img {
    display: block;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #074491;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-size: 18px;
}


/* 푸터 스타일 시작 -----------------------------------------------------------------------------------------------
   사이트 푸터 전용 — 맨몸 footer 셀렉터였을 때 라운지 문서 모달·챗봇 입력바 등
   페이지 안의 다른 <footer>까지 회색 column 레이아웃을 뒤집어썼다. */
footer.site-footer {
    background-color: #eaedef;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 40px;
}

/* 푸터 상단: 3열 그리드 레이아웃 */
.footer-top {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* 각 열(고객센터/회사/지원) 스타일 */
.footer-left-top-text {
    color: #444444;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
}

.footer-left-column > p {
    font-size: 16px;
    font-weight: 500;
    color: #777;
}

.footer-left-column > p:first-of-type {
    margin-bottom: 4px;
}

.footer-left-column > p:nth-of-type(2) {
    margin-bottom: 8px;
}

.footer-right-column{
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.footer-text-box {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.footer-text-box a {
    color: #777777;
}

.footer-head-text {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-span {
    display: inline-flex;   /* 아이콘+텍스트 수평 정렬 */
    align-items: center;    /* 아이콘과 텍스트 수직 가운데 정렬 */
    justify-content: center;
    border: 1px solid #cccccc;
    background-color: #fff;
    border-radius: 8px;
    padding: 11px 16px 11px 12px;
    font-size: 18px;
    font-weight: 500;
}

.footer-span {
    cursor: pointer;
}

.phone-icon {
    width: 26px;
    height: 26px;
    margin-right: 5px;      /* 아이콘과 텍스트 사이 여백 */
}

.note-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.footer-button-div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 푸터 하단 */
.footer-bottom {
    display: flex;
    flex-direction: column;
    width: 1200px;
    font-size: 12px;
    padding: 30px 0 30px 0;
}

.footer-bottom-top {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-bottom-top a:nth-of-type(1) {
    color: #777777;
    font-size: 14px;
}

.footer-bottom-top a:nth-of-type(2) {
    font-weight: bold;
    color: #444444;
    font-size: 14px;
}

.footer-bottom-top a:nth-of-type(3) {
    color: #777777;
    font-size: 14px;
}


.footer-bottom-middle {
    margin-bottom: 14px;
}

.footer-underline {
    text-decoration: underline;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;  /* 마우스 오버 시 강조 */
}

.footer-bottom p:first-of-type {
    margin-bottom: 4px;
}

.footer-bottom p {
    color: #777777;
    font-size: 12px;
}
