/* * BidMedi Global Design Guard v1.0.5
 * 목적: 원본 PHP 파일의 HTML 구조를 100% 보존하며, 필요한 UI 제어만 외부에서 수행합니다.
 * 업데이트: 제공업체 실 입력값(val) 볼드 제거 및 크기(14px) 일괄 통일
 */

/* =================================================
 * 1. 사업자번호 관련 제어 (비즈체크 버튼 제거 및 폭 확장)
 * ================================================= */
input[name="biz_number"] + button.btn-blue-rect,
button[onclick*="checkBizNo"],
.btn-biz-check {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

input[name="biz_number"], 
#biz_number {
    width: 100% !important;
    flex: 1 !important;
}

/* =================================================
 * 2. 파트너 로그인 화면 (/partner-login/) 집중 모드
 * ================================================= */
.page-template-partner-login .top-consultation-menu,
.page-template-partner-login .floating-banner-class {
    display: none !important;
}

/* =================================================
 * 3. 견적 산출 폼 (/calc/) 집중 모드
 * ================================================= */
.bm-est-wrap ~ .top-consultation-menu,
.bm-est-wrap ~ .floating-banner-class,
.bm-est-wrap ~ header {
    display: none !important;
}

/* =================================================
 * 4. 2단계 정보입력페이지 전용 (body:has 활용 전역 제어)
 * ================================================= */
body:has(.bm-original-signup) #header-outer nav,
body:has(.bm-original-signup) #header-outer .span_9,
body:has(.bm-original-signup) #header-outer .right-side,
body:has(.bm-original-signup) #header-outer .nectar-header-buttons,
body:has(.bm-original-signup) #header-outer .header-buttons,
body:has(.bm-original-signup) #header-outer .menu,
body:has(.bm-original-signup) .sf-menu,
body:has(.bm-original-signup) .nectar-global-section .fixed,
body:has(.bm-original-signup) div.fixed,
body:has(.bm-original-signup) #to-top {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =================================================
 * 5. 견적 관리 페이지 (/list/) 로그아웃 버튼 스타일
 * ================================================= */
.btn-logout {
    background: #1a2b4c;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s;
}
.btn-logout:hover {
    background: #111;
}

/* =================================================
 * 6. 리스 조건표 상세페이지 (/view/) 가독성 강화 (v1.0.5)
 * ================================================= */

/* 하단 푸터 그리드 (제공업체 50% : 비고 50%) */
.bm-footer-grid { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; 
    gap: 30px !important; 
    background: #ffffff !important; 
    padding: 30px !important; 
    border-radius: 12px !important; 
    border: 2px solid #1a2b4c !important; 
    margin-top: 15px !important;
}

/* 박스 제목 (H4) 스타일 */
.footer-box h4 { 
    font-size: 19px !important; 
    font-weight: 900 !important; 
    margin-bottom: 18px !important; 
    color: #1a2b4c !important; 
    border-left: 5px solid #00a8cc !important; 
    padding-left: 12px !important; 
    line-height: 1 !important;
}

.provider-info-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.provider-info-list li { 
    font-size: 14px !important; 
    margin-bottom: 12px !important; 
    display: flex !important; 
    align-items: center !important; 
}

/* 제목(lbl): 업체명, 담당자, 연락처 -> 볼드 유지 */
.provider-info-list .lbl { 
    width: 90px !important; 
    color: #64748b !important; 
    font-weight: bold !important; 
    flex-shrink: 0 !important;
}

/* ✅ 실 입력값(val): 굵기 제거(500) 및 크기 14px 통일 */
.provider-info-list .val { 
    color: #1e293b !important; 
    font-weight: 500 !important; /* 볼드(Bold) 제거 */
    font-size: 14px !important; /* 업체명 크기 14px로 전체 통일 */
}

/* ✅ 연락처 전용: 컬러는 유지하되 굵기와 크기는 다른 입력값과 맞춤 */
#provider_phone { 
    color: #1e293b !important; 
    font-size: 14px !important; 
    font-weight: 500 !important; 
    letter-spacing: 0.5px !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .bm-footer-grid {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
    }
}
