/* 양도소득세 검토 뷰 */
.main-layout.taxopinion-main {
    background:
        linear-gradient(90deg, rgba(7,17,31,1.00) 0%, rgba(10,22,38,0.90) 8%, rgba(10,22,38,0.55) 22%, rgba(10,22,38,0.18) 38%, rgba(10,22,38,0.00) 54%),
        none 100% center / cover no-repeat;
}
.top-nav.taxopinion-header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.top-nav.taxopinion-header #currentPageTitle {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}
.content-panel.taxopinion-bg {
    padding: 0;
    background: transparent;
    overflow: hidden;
}
.content-panel.taxopinion-bg iframe {
    display: block !important;
    border: none !important;
    margin-left: 0 !important;
    width: 66.667% !important;
    height: calc(var(--mobile-vh, 100vh) - 70px) !important;
    display: block;
    border: none;
}

/* 증여세 검토 뷰 */
.main-layout.gifttax-main {
    background:
        linear-gradient(90deg, rgba(7,17,31,1.00) 0%, rgba(10,22,38,0.90) 8%, rgba(10,22,38,0.55) 22%, rgba(10,22,38,0.18) 38%, rgba(10,22,38,0.00) 54%),
        none right center / cover no-repeat;
}
.content-panel.gifttax-bg {
    padding: 0;
    background: transparent;
    overflow: hidden;
}
.content-panel.gifttax-bg iframe {
    display: block !important;
    border: none !important;
    margin-left: 0 !important;
    width: 66.667% !important;
    height: calc(var(--mobile-vh, 100vh) - 70px) !important;
    display: block;
    border: none;
}
.top-nav.gifttax-header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.top-nav.gifttax-header #currentPageTitle {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

/* 스마트 상담 뷰 */
.main-layout.smart-consult-main {
    background:
        linear-gradient(90deg, rgba(7,17,31,1.00) 0%, rgba(10,22,38,0.90) 8%, rgba(10,22,38,0.55) 22%, rgba(10,22,38,0.18) 38%, rgba(10,22,38,0.00) 54%),
        none right center / cover no-repeat;
}
.content-panel.smart-consult-bg {
    padding: 0;
    background: transparent;
    overflow: hidden;
}
.content-panel.smart-consult-bg iframe {
    display: block !important;
    border: none !important;
    margin-left: 0 !important;
    width: 66.667% !important;
    height: calc(var(--mobile-vh, 100vh) - 70px) !important;
}
.top-nav.smart-consult-header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.top-nav.smart-consult-header #currentPageTitle {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

/* 전자계약서 뷰 — 상단 헤더 */
.top-nav.contract-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.top-nav.contract-header #currentPageTitle {
    color: #e5edf7;
}

/* 전자계약서 뷰 — main-layout 배경 이미지 */
.main-layout.contract-main {
    background: none right center / cover no-repeat;
    background-color: #0a1428;
}
/* 캐비닛 관리 뷰 — top-nav 완전 숨김 + 전체 채우기 */
.main-layout.secretary-main {
    background: none center center / cover no-repeat;
    background-color: #0d1520;
}
.content-panel.secretary-bg {
    background: transparent;
    padding: 16px;
    overflow: auto;
}
.top-nav.secretary-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.top-nav.secretary-header #currentPageTitle {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.top-nav.cabinet-header {
    display: none !important;
}
.content-panel.cabinet-bg {
    padding: 0;
    overflow: hidden;
    flex: 1;
    height: 100%;
}
.content-panel.cabinet-bg iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none;
}

/* 전자계약서 컨텐츠 패널 배경 — main-layout 이미지 비침 */
/* 전자계약서 뷰 — 단일 스크롤바 (iframe 내부만 스크롤) */
.content-panel.contract-bg {
    background: transparent;
    padding: 0;
    overflow: hidden;
}
.content-panel.contract-bg iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none;
}

/* 업체 상세 뷰 — 상단 헤더 바 네이비 스타일 */
.top-nav.company-header {
    background: rgba(10, 20, 38, 0.85);
    border-bottom: 1px solid rgba(145, 170, 210, 0.1);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.top-nav.company-header .view-title h2 {
    color: #ffffff;
}
/* 헤더 내 버튼 — 반투명 흰색 (인라인 스타일 있는 빨간 버튼은 인라인이 우선) */
.top-nav.company-header .btn-premium {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.top-nav.company-header .btn-premium:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

