/* /resources/css/pages/transit/simpCalcList.css */

.reserve-section-wrap {
  max-width: 1490px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #fff;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* 목록 상단 타이틀 */
.reserve-list-title {
  display: flex;
  align-items: center;
  gap: 8px;;
  margin-bottom: 40px;
}
.reserve-list-title h3 {
  font-size: 1.16rem;
  font-weight: 500;
  margin: 0;
}
.reserve-list-title img {
  width: 22px; height: 22px;
}

/* 페이지 내용 좌우로 들여쓰기(인덴트) */
.reserve-search-area,
.reserve-table-area {
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* 검색영역 */
.reserve-search-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reserve-list-select {
  height: 42px;
  font-size: 1.04rem;
  border: 1px solid #348bee;
  border-radius: 5px;
  padding: 0 11px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.17s, background 0.17s;
  box-sizing: border-box;
}
.reserve-list-select {
  width: 15%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  letter-spacing: 0.13em;
  background: #fff url('/resources/images/comm/icon/arrow_down.svg') no-repeat right 10px center/28px 28px;
  cursor: pointer;
}
.reserve-list-select:focus,
.reserve-list-select:hover {
  border-color: #43a2f7;
  background: #eef7fe;
  box-shadow: 0 0 0 2px #bae2ff;
  background: #eaf2fe url('/resources/images/comm/icon/arrow_down.svg') no-repeat right 8px center/30px 30px;
  /* box-shadow: 0 0 0 2px #bae2ff; */
}
.reserve-list-select::-ms-expand { display: none; }

.reserve-search-input {
	width: 20%;
	height: 42px; /* 높이는 유지 */
	padding: 8px 10px; /* 테마와 통일 */
	font-size: 1.04rem; /* 테마와 통일 */
	border-radius: 5px; /* 테마 적용: 둥글기 5px */
	border: 1px solid #348bee; /* 테마 적용: 연한 하늘색 테두리 */
	background: #fafdff; /* 테마 적용: 아주 연한 푸른빛 흰색 */
	box-sizing: border-box;
	font-weight: 300;
	letter-spacing: 0.13rem;
	font-family: inherit;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.reserve-search-input:hover,
.reserve-search-input:focus {
	outline: none;
	border-color: #2196f3; /* 테마 적용: 선명한 파란색 */
	background-color: #eef7fd; /* 테마 적용: 연한 하늘색 배경 */
	box-shadow: 0 0 0 2px #bae2ff; /* 테마 적용: 파란색 광선 효과 */
}
.reserve-search-input::placeholder {          /* 최신 표준 */
  color: #b1b7c5;                   /* 원하는 색상으로 지정 */
  opacity: 1;                       /* 투명도(기본 1) */
} 

/* .hidden {
	display: none !important;
}
 */

.serch-btn-wrap {
  display: flex;
  flex: 5 1 0;
  align-items: center;
  justify-content: right;
  min-width: 110px;
}
.btn-reserve-list {
  height: 38px;
  font-size: 1.05rem;
  font-weight: 400;
  display: flex;
}
.btn-reserve-list img {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  align-self: flex-end;
}
.btn-reserve-list:hover {
  background: #318cfb;
}
.btn-reserve-list:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.btn-reserve-list:focus {
  border: 1px solid #b76fff;
  box-shadow: 0 0 0 2px #c78eff;
}

/* 테이블 */
.reserve-table-area {
  overflow-x: auto;
}
.reserve-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.03rem;
  letter-spacing: 0.07rem;
  table-layout: fixed;
}
/* 예약접수번호, 신청인, 차량종류, 거리, 요금, 진행상태, 상태보기: 100px */

.reserve-list-table th.reserve-th-distance,
.reserve-list-table td.reserve-td-distance,
.reserve-list-table th.reserve-th-expect-fee,
.reserve-list-table td.reserve-td-expect-fee,
.reserve-list-table th.reserve-th-vehicle-type,
.reserve-list-table td.reserve-td-vehicle-type,
.reserve-list-table th.reserve-th-detail,
.reserve-list-table td.reserve-td-detail {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
    box-sizing: border-box;
}
.reserve-list-table th.reserve-th-request-no,
.reserve-list-table td.reserve-td-request-no,
.reserve-list-table th.reserve-th-member-div-name,
.reserve-list-table td.reserve-td-member-div-name,
.reserve-list-table th.reserve-th-applicant-name,
.reserve-list-table td.reserve-td-applicant-name {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    box-sizing: border-box;
}
/* .reserve-list-table th.reserve-th-vehicle-type,
.reserve-list-table td.reserve-td-vehicle-type {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
    box-sizing: border-box;
} */
.reserve-list-table th.reserve-th-status-name,
.reserve-list-table td.reserve-td-status-name {
	 width: 90px;
}


/* 신청일자, 답변일자: 130px */
.reserve-list-table th.reserve-th-request-ymd,
.reserve-list-table td.reserve-td-request-ymd {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    box-sizing: border-box;
}

/* 출발지, 도착지 */
.reserve-list-table th.reserve-th-departure-addr,
.reserve-list-table td.reserve-td-departure-addr,
.reserve-list-table th.reserve-th-arrival-addr,
.reserve-list-table td.reserve-td-arrival-addr {
    /* width 생략 또는 100% */
    min-width: 140px;
    max-width: none;
    /* width: 135px; */
    /* text-align: left; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}
/* 숫자형 열은 우측 정렬(가독성) */
.reserve-list-table td.reserve-td-distance,
.reserve-list-table td.reserve-td-expect-fee { 
	text-align: right; 
}

.reserve-list-table th, .reserve-list-table td {
  border: 1px solid #0799F4;
  padding: 10px 6px;
  color: #222;
  text-align: center;
  white-space: nowrap;
}
.reserve-list-table th {
  background: #e0effc;
  font-weight: 400;
  color: #222;
}
.reserve-list-table td {
  border: 1px solid #0799F4;
  padding: 6px 6px;
  font-weight: 300;
  text-align: center;
  white-space: nowrap;
}

.reserve-tbody-row:hover {
  background: #eaf2fe;
  cursor: pointer;
}
.reserve-td-detail .btn-detail {
  background: #fff;
  border: 1px solid #aebfea;
  color: #22b4f2;
  padding: 4px 12px;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 2px 5px #8a50f7;
  /* box-shadow: 0 2px 5px #0799f4; */
  text-decoration: none;
}
.reserve-td-detail .btn-detail:hover,
.reserve-td-detail .btn-detail:focus {
  background: #0b88c0;
  color: #fff;
  outline: none;
  box-shadow: none;
}
.btn-detail.is-disabled {
  pointer-events: none;
  opacity: .5;
  outline: none;
  box-shadow: none;
  cursor: not-allowed;
  text-decoration: none;
}

.custom-tooltip {
	position: absolute;
    /* background: #8b17ff; */
    background: #8a50f7;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    pointer-events: none;
    white-space: pre-line;
    font-weight: 300;
    line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 32px 0 24px 0;
}

/* 숫자(전체 원형) */
.pagination .page-num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #2196f3;
  color: #2196f3;
  font-weight: 400;
  font-size: 1.03rem;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, font-weight 0.13s;
  margin: 0 1.5px;
  box-sizing: border-box;
  cursor: pointer;
}

/* 선택 페이지만 진한 배경+흰색+굵은 폰트 */
.pagination .page-num.active {
  background: #2196f3;
  color: #fff;
  font-weight: 700;
  border-color: #2196f3;
  z-index: 2;
}

/* Hover 효과 */
.pagination .page-num:not(.active):hover {
  background: #f2f9fd;
  color: #1976d2;
}

/* 이전/다음 버튼 */
.pagination .page-btn {
 /*  min-width: 62px; */
  padding: 0 16px;
  height: 36px;
  border-radius: 20px;
  background: #dfc8f6;
  color: #33376b;
  font-weight: 400;
  font-size: 1.03rem;
  border: 1.5px solid #2196f3;
  outline: none;
  display: flex;
  align-items: center;
  /* gap: 4px; */
  cursor: pointer;
  text-decoration: none;
  transition: background 0.14s, color 0.13s;
}
.pagination .page-btn:hover,
.pagination .page-btn:focus {
  background: #bb88ef;
  color: #fff;
}

.page-btn .icon-double-arrow {
  font-size: 1.55em;      /* 원하는 크기로 조절 (1.3em~2em도 가능) */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  /* margin: 0 4px; */
  color: #33376b;         /* 필요시 색상 맞춤 */
  font-weight: 400;
}

    /* ===== 상담 결과 메시지 (전역 결과 박스) ===== */
	.reserve-result-msg {
	  /* margin-top: 15px; */
	  padding: 10px 15px;
	  font-size: 1.03rem;
	  /* border: 1.5px solid #2196f3; */
	  border-radius: 8px;
	  min-height: 20px;
	  text-align: center;
	  transition: all .2s;
	  word-break: keep-all;
	  /* display: none; */ /* 기본 숨김 */
	}
	
	/* 상태별 */
	.reserve-result-msg.success { 
	  display:block; background:#e8f9ee; color:#249859; border:1px solid #74e1ae; 
	}
	.reserve-result-msg.error { 
	  display:block; background:#fff6f6; color:#db2828; border:1px solid #ffbdbd; 
	}
	.reserve-result-msg.info { 
	  display:block; background:#f4f6f8; color:#5f6c7b; border:1px solid #d9e1e8; 
	}
	
	/* ✅ 키보드 포커스(엔터 눌렀을 때) 아웃라인을 디자인에 맞게 */
	.reserve-result-msg:focus,
	.reserve-result-msg:focus-visible,
	#reserveListResultMsg:focus,
	#reserveListResultMsg:focus-visible {
	  outline: 1px solid currentColor;         /* 현재 글자색 기준(좋은 대비) */
	  outline-offset: 1px;
	  /* 필요하면 상태별로 통일하려면 아래처럼도 가능:
	     outline-color: #ffbdbd;  (error일 때)
	  */
	}
