@charset "utf-8";
/* ==========================================================================
   공통 검색 영역 (.search1) — 서비스 관리 화면 디자인으로 통일
   - 기존 마크업(.search1 / .inw / .searchbtn / .daywid3)을 그대로 두고 모양만 바꿈
   - 기간 검색 : .sc-quick (오늘 / 이번 주 / 이번 달 / 전체) 버튼
   - .search1 안에서만 적용 (다른 화면의 .inw / 달력 화면의 .searchbtn 에는 영향 없음)

   변경 이력
   - 2026-11-19: 맨 아래 @media(max-width:1400px) .sc-right 블록 삭제 — 건수 버튼이 항상 오른쪽 끝에 머물도록 (T-096)
   ========================================================================== */

.search1{
    display:flex; flex-wrap:wrap; align-items:center; gap:8px;
    width:100%; overflow:visible; margin-bottom:16px; padding:12px 14px;
    background:#f5f7fb; border:1px solid #e3e6ec; border-radius:10px;
}

/* 입력칸 / 선택상자 */
.search1 .inw,
.search1 input[type="date"]{
    height:38px; padding:0 12px; margin:0;
    border:1px solid #d3d9e3; border-radius:8px; background-color:#fff;
    font-size:14px; color:#0b0b0b; outline:none; box-sizing:border-box;
    transition:border-color .15s, box-shadow .15s;
}
.search1 .inw.noline{border:1px solid #d3d9e3;}
.search1 .inw:hover, .search1 input[type="date"]:hover{border-color:#b9c2d0;}
.search1 .inw:focus, .search1 input[type="date"]:focus{border-color:#5D8AF3; box-shadow:0 0 0 3px rgba(93,138,243,.18);}
.search1 input[type="date"]{width:150px;}

.search1 select.inw{
    min-width:110px; padding-right:32px; cursor:pointer;
    appearance:none; -webkit-appearance:none; -moz-appearance:none;
    background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center;
}

/* 키워드 입력 (검색창 바로 아래 단계의 텍스트 입력) : 둥근 모양 + 돋보기 */
.search1 > input.inw[type="text"]:not(.dateVal){
    width:240px; max-width:100%; padding-left:36px; border-radius:999px;
    background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") no-repeat 13px center;
}
.search1 input::placeholder{color:#a8b0bd;}

/* 검색 버튼 : 아이콘 이미지 대신 '검색' 글자 */
.search1 .searchbtn{
    display:inline-flex; align-items:center; justify-content:center;
    height:38px; padding:0 20px; border:0; border-radius:8px;
    background:#5D8AF3; color:#fff; font-size:14px; font-weight:700; cursor:pointer;
    transition:background-color .15s;
}
.search1 .searchbtn img{display:none;}
.search1 .searchbtn::after{content:'검색';}
.search1 .searchbtn:hover{background:#4673e0;}

/* 오른쪽 정렬 (예 : 등록 버튼 .fr / .sc-right) */
.search1 .fr, .search1 .sc-right{float:none; margin-left:auto; margin-top:0;}

/* 기간 (상담/예약/입실 : 달력 입력) */
.search1 .daywid3{display:inline-flex; align-items:center; gap:6px; width:auto;}
.search1 .daywid3 .dayw{float:none; width:150px; margin:0;}
.search1 .daywid3 .dayw input{border:1px solid #d3d9e3; background-color:#fff; cursor:pointer;}
.search1 .daywid3 .sc1, .search1 > .sc1{float:none; width:auto; line-height:1; color:#8a93a3;}

/* 기간 빠른 선택 */
.search1 .sc-quick{display:inline-flex; gap:4px;}
.search1 .sc-quick button{
    height:34px; padding:0 12px; border:1px solid #d3d9e3; border-radius:8px;
    background:#fff; color:#52514e; font-size:13px; cursor:pointer; transition:all .15s;
}
.search1 .sc-quick button:hover{border-color:#5D8AF3; color:#3555e0;}
.search1 .sc-quick button.on{background:#eef2ff; border-color:#5D8AF3; color:#3555e0; font-weight:700;}

/* 검색 영역 우측 건수 표시 (사용 / 미사용 등) */
.search1 .sc-count{display:inline-flex; align-items:center; gap:6px;}
.search1 .sc-count span, .search1 .sc-count button{display:inline-flex; align-items:center; gap:5px; height:34px; padding:0 14px; border-radius:999px; font-size:13px; font-weight:600; background:#fff; border:1px solid #e3e6ec; color:#52514e; white-space:nowrap; font-family:inherit; transition:all .15s;}
.search1 .sc-count button{cursor:pointer;}
.search1 .sc-count span::before, .search1 .sc-count button::before{content:''; width:7px; height:7px; border-radius:50%; background:currentColor;}
.search1 .sc-count b{font-size:15px; font-weight:700; font-variant-numeric:tabular-nums;}
.search1 .sc-count .use{color:#2468bd; border-color:#cfe0f5; background:#f3f8fe;}
.search1 .sc-count .unuse{color:#c93a2a; border-color:#f3cfca; background:#fdf4f3;}
.search1 .sc-count button.use:hover{border-color:#2468bd;}
.search1 .sc-count button.unuse:hover{border-color:#c93a2a;}
/* 선택된 필터 : 색을 채워서 표시 */
.search1 .sc-count button.use.on{background:#2468bd; border-color:#2468bd; color:#fff;}
.search1 .sc-count button.unuse.on{background:#c93a2a; border-color:#c93a2a; color:#fff;}

/* 목록 총 건수 (제목 옆) */
.list-total{display:inline-flex; align-items:center; gap:2px; margin-left:10px; padding:3px 11px; border-radius:999px; background:#eef2ff; color:#3555e0; font-size:13px; font-weight:600; vertical-align:middle; letter-spacing:0; white-space:nowrap;}
.list-total b{font-weight:700; font-variant-numeric:tabular-nums;}
.tit h1 .list-total{font-size:14px; position:relative; top:-3px;}

/* 산모정보 팝업 (.scwid : 입력칸 안에 아이콘 버튼) */
.search1 .scwid{display:flex; align-items:center; gap:8px;}
.search1 .scwid .inw[type="text"]{flex:1 1 auto; width:auto; padding-right:40px;}
.search1 .scwid button{top:50%; transform:translateY(-50%);}

/* 통계 / 경영정보 : 검색 영역을 감싸던 회색 띠 제거 → 검색 영역만 흰 카드로 */
.conbox.bg1{padding:0; background:transparent; border:0; box-shadow:none; overflow:visible;}
.conbox.bg1 .search1{margin-bottom:0; background:#fff; box-shadow:0 3px 15px rgba(0,0,0,.08);}
