@charset "UTF-8";
:root {
  --hankook-orange: #ff6a2e;
  --gray-bg: #f5f6f9;
  --white: #ffffff;
  --border: #dcdde1;
  --text: #2f3640;
  --button-bg: #f6f6f6;
  --button-border: #ccc;
  --button-hover: #ebebeb;
}

.nf_tabs * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nf_tabs {
  /* max-width: 1280px; */
  min-width: 1024px;
  /* margin: auto; */
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.nf_tabs .ico-cal, 
.nf_tabs .datepicker, 
.nf_tabs .yearpicker,
.nf_tabs .input1.ico-cal, 
.nf_tabs .input1.datepicker, 
.nf_tabs .input1.yearpicker {width: 106px; letter-spacing: 0.03em; padding-right: 25px; background-image: url(../../front/images/ico/ico-cal1.png); background-position: calc(100% - 15px) center; background-repeat: no-repeat;}


/* 탭 */
.nf_tab-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  /* border-bottom: 1px solid var(--border); */
}

.nf_tab-nav {
  display: flex;
  gap: 6px;
}

.nf_tab-nav button {
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: 0.3s;
}
.nf_tab-nav button.nf_active {
  border-color: var(--hankook-orange);
  color: var(--hankook-orange);
}

.nf_buttons {
  display: flex;
  gap: 10px;
}

.nf_buttons button {
  padding: 10px 16px;
  border: 1px solid var(--hankook-orange);
  background-color: #fff8f3;
  color: var(--hankook-orange);
  font-weight: 600;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  /* display: flex; */
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-width: 100px
}

.nf_buttons button:hover {
  background-color: #ffe8dc;
  color: #d65312;
  border-color: #e65a1a;
}

.nf_section-box {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 30px;
}

.nf_tabs h2 {
  position: relative;
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  color: #222;
}
.nf_tabs h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--hankook-orange);
  border-radius: 2px;
}

.nf_form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}

.nf_form-group {
  display: flex;
  flex-direction: column;
}
.nf_form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #555;
}
.nf_form-group input,
.nf_form-group select {
  padding: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: #fff;
}

.nf_form-group input:read-only {
  background-color: #f0f0f0; /* Light gray background */
  border: 1px solid #ccc;    /* Light gray border */
  color: #555;              /* Darker text color */
  cursor: default;          /* Change cursor to default pointer */
}

.nf_form-inline {
  display: flex;
  gap: 8px;
}
.nf_form-inline input {
  flex: 1;
}
.nf_form-inline button {
  width: 36px;
  height: 36px;
  background-color: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: 6px;
  cursor: pointer;
}

/* 체크박스 */
.nf_checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.nf_checkbox-group input[type="checkbox"] {
  width: 15px;
  height: 15px;
  transform: scale(1.5); /* 기본 대비 1.5배 */
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* Sub Tabs */
.nf_sub-tab-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.nf_sub-tab {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}
.nf_sub-tab.nf_active {
  background: var(--hankook-orange);
  color: #fff;
  border-color: var(--hankook-orange);
}
.nf_sub-tab-content {
  display: none;
}
.nf_sub-tab-content.nf_active {
  display: block;
}

.nf_tab-content {
  display: none;
}
.nf_tab-content.nf_active {
  display: block;
}

/* 검색 */
.nf_search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.nf_search-bar input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.nf_search-bar button {
  padding: 10px 16px;
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: 6px;
  cursor: pointer;
}

/* 서비스 목록 & 선택 */
.nf_service-layout {
  display: flex;
  gap: 30px;
}
.nf_service-list {
  flex: 2;
  background: #fff;
  border-radius: 10px;
  /* 스크롤은 컨테이너에 부여 */
  max-height: 335px;      /* 원하는 높이 */
  overflow: auto;         /* 세로/가로 스크롤 자동 */
  border: 1px solid #ddd;
}

.nf_service-list table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.nf_service-list th,
.nf_service-list td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.nf_service-list thead th {
  position: sticky; /* 헤더 고정 */
  top: 0;
  z-index: 1;
  background: #fff; /* 스티키 헤더 가독성 */
}

.nf_service-list table th:first-child,
.nf_service-list table td:first-child {
  width: 60%;  
}

.nf_service-list table td:first-child{
	text-align: left;
	padding-left: 20px;
}


/* .nf_service-list .nf_icons {
  display: flex;
  gap: 35px;
} */

.nf_icons button{
	margin: 0 10px;
}

.nf_service-list .nf_fav.nf_active {
  color: var(--hankook-orange);
}

/* .nf_selected-services {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column; 내부를 세로 정렬
  max-height: 350px;  높이 제한
  overflow-y: auto;   세로 스크롤 활성화
  padding-right: 5px; 스크롤바 가림 방지
} */

.nf_selected-services {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column; /* 세로 배치 */
}

.nf_selected-list {
  flex: 1;                 /* 남는 공간을 채움 */
  max-height: 225px;       /* 스크롤 높이 제한 */
  overflow-y: auto;        /* 세로 스크롤 */
  margin-bottom: 10px;     /* 총합 영역과 간격 */
}

.nf_total {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.nf_selected-header {
  font-weight: bold;
  margin-bottom: 10px;
}
.nf_selected-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.nf_selected-item:last-child {
  border-bottom: none;   /* 마지막 요소는 하단 라인 제거 */
  padding-bottom: 0;
  margin-bottom: 0;
}

.nf_selected-item .nf_top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nf_selected-item .nf_code {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  min-width: 80px;
}
.nf_selected-item input[type="number"] {
  width: 70px;
  padding: 6px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: right;
}
.nf_selected-item .nf_price {
  font-weight: bold;
  min-width: 90px;
  text-align: right;
}
.nf_selected-item .nf_delete {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
}
.nf_selected-item .nf_delete:hover {
  color: #ff4d4d;
}
.nf_selected-item .nf_desc {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}

.nf_total {
  text-align: right;
  font-size: 18px;
  /* margin-top: 16px; */
}

/* 반응형 */
@media (max-width: 768px) {
  .nf_tab-nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nf_form-grid {
    grid-template-columns: 1fr;
  }
  .nf_buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

.nf_file-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.nf_file-actions input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.nf_file-actions .nf_search-btn,
.nf_file-actions .nf_upload-btn {
  padding: 10px;
  background-color: #fff;
  border: 1px solid var(--button-border);
  border-radius: 6px;
  cursor: pointer;
}

.nf_file-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.nf_file-header,
.nf_file-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.nf_file-header {
  background-color: #f5f5f5;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.nf_file-row {
  border-bottom: 1px solid #f0f0f0;
}

.nf_file-col {
  flex: 1;
}

.nf_file-col.nf_name {
  flex: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nf_file-col.nf_size {
  text-align: right;
  flex: 1;
}

.nf_file-col.nf_actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
}

.nf_icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

.nf_icon-btn:hover {
  color: var(--hankook-orange);
}

.nf_search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.nf_search-bar input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.nf_search-bar button {
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid var(--button-border);
  border-radius: 6px;
  cursor: pointer;
}

.nf_table-list {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.nf_table-header,
.nf_table-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-align: center;
}

.nf_table-header {
  background-color: #f5f5f5;
  font-weight: 600;
}

.nf_table-row {
  border-top: 1px solid #eee;
}

.nf_col.nf_name {
  flex: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf_col.nf_size {
  flex: 1;
  text-align: right;
}

.nf_col.nf_actions {
  flex: 1;
  display: flex;
  gap: 10px;
  justify-content: space-around;
}

.nf_icon-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #777;
  cursor: pointer;
}

.nf_icon-btn:hover {
  color: var(--hankook-orange);
}

.nf_table-header .nf_type,
.nf_table-row .nf_type {
  flex: 1;
  text-align: center;
}
.nf_table-header .nf_date,
.nf_table-row .nf_date {
  flex: 1.5;
}

.nf_tire-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.nf_tire-left, .nf_tire-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nf_tire-pos {
  width: 36px;
  height: 36px;
  background: #ddd;
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nf_tire-pos.nf_active {
  background: var(--hankook-orange);
  color: white;
}
.nf_tire-form {
  flex: 1;
}
.nf_form-grid.nf_slim {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.nf_confirm {
  background: var(--hankook-orange);
  color: white;
}


/* 폼 영역 */
.nf_tire-form .nf_form-grid.nf_slim {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.nf_tire-form input {
  flex: 1;
  min-width: 180px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.nf_tire-form textarea {
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
}
.nf_tire-form .nf_buttons {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.nf_tire-form button {
  padding: 8px 18px;
  border: 2px solid #fc5c00;
  background: white;
  color: #fc5c00;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.nf_tire-form button.nf_confirm {
  background: #fc5c00;
  color: white;
}

/* 디스플레이 리스트 */
.nf_tire-display-list {
  margin-top: 24px;
  border-top: 1px solid #ddd;
  padding-top: 12px;
}
.nf_tire-entry {
  margin-bottom: 12px;
  line-height: 1.6;
}
.nf_tire-entry strong {
  font-size: 16px;
}
.nf_tire-entry em {
  font-style: italic;
  color: #555;
}

/* 공통 스타일 */
.nf_tire-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  gap: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nf_tire-card:hover {  
  border-color: #333333;
}


.nf_tire-card .nf_tire-number {
  background: #d3d3d3;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.nf_tire-card .nf_info-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf_tire-card .nf_info-block .nf_row-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nf_tire-card .nf_info-block input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.nf_comment-inline {
  width: 100%;
  margin-top: 4px;
}

.nf_tire-card .nf_info-block h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.nf_tire-card .nf_info-block p {
  margin: 2px 0;
  font-size: 14px;
  color: #333;
}

.nf_tire-card .nf_info-block .nf_comment {
  font-style: italic;
  color: #555;
}

.nf_tire-card .nf_placeholder-text {
  color: #888;
  font-size: 14px;
  font-style: italic;
}

.nf_action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf_action-buttons button {
  background: #333;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.nf_action-buttons button:hover {
  background-color: #333333a3;
  color: #fff;
  border-color: #e65a1a;
}

.nf_input-with-icon {
  position: relative;
  flex: 1;
}

.nf_input-with-icon input {
  width: 50%;
  padding-right: 32px;
}

.nf_input-with-icon.external input {
  width: 100%;
  padding-right: 10px;
}

@media (min-width: 600px) {
  .nf_action-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
}

.nf_input-with-icon {
  position: relative;
}
.nf_input-with-icon .nf_search-btn.nf_inside {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #777;
}

.nf_search-btn.nf_reifen.nf_inside{
  position: absolute;
  right: 51%;
  top: 50%;
  transform: translateY(-55%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #777;
}
.nf_calendar-icon {
  font-size: 20px;
  color: #555;
  margin-left: 8px;
}

.nf_hidden-field {
  display: none;
}

.nf_highlight {
  border: 2px solid var(--hankook-orange);
  background: #fffdf9;
}

.nf_highlighted {
  background: var(--hankook-orange) !important;
  color: white !important;
}

.nf_large-icon {
  font-size: 18px;
}

.nf_vehicle-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.nf_vehicle-image {
  flex: 1;
  max-width: 300px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.nf_vehicle-image .tireInfo-left{
	margin: 30px
}

.nf_vehicle-image img.nf_axle-image {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.nf_vehicle-info {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* confirm tab */

.nf_auftrag-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.nf_axle-left {
  padding-top: 40px;
}
.nf_axle-left img {
  max-width: 100px;
}

.nf_auftrag-content {
  flex: 1;
}
.nf_auftrag-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.nf_auftrag-card {
  overflow: auto;
  max-height: 550px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background: #fff;
}
.nf_auftrag-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
}
.nf_auftrag-card.tire{
  max-height: 400px;
}
.nf_auftrag-card.service{
  max-height: 310px;
}
.nf_tire-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px
}

.nf_tire-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nf_tire-header .nf_tire-size {
  font-size: 18px;
  margin-right: 10px;
}
.nf_logo-inline {
  height: 16px;
  vertical-align: middle;
}
.nf_badge {
  background: #333;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.nf_tire-attrs p {
  margin: 2px 0;
  font-size: 14px;
  color: #333;
}

.nf_service-line {
    display: flex;
    justify-content: space-between; /* 좌측 설명, 우측 묶음 */
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    margin-bottom: 10px;
}

.nf_desc {
    flex: 1; /* 좌측 영역을 넓게 차지 */
}

.nf_amount,
.nf_price {
    white-space: nowrap; /* 줄바꿈 방지 */
    margin-left: 15px;   /* 간격 유지 */
}

.nf_amount {
    min-width: 70px;     /* Menge 고정폭 (옵션) */
    text-align: right;
}

.nf_price {
    min-width: 90px;     /* 가격 고정폭 (옵션) */
    text-align: right;
    font-weight: bold;
}

.nf_service-line .nf_price{
  font-size: 18px;
  font-weight: 600;
}

.nf_auftrag-card input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.nf_auftrag-summary {
  background: #222;
  color: white;
  border-radius: 6px;
  padding: 16px;
  font-size: 14px;
  margin-top: 20px;
}
.nf_auftrag-summary .nf_line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nf_auftrag-summary .nf_total {
  font-weight: bold;
  font-size: 16px;
}
.nf_auftrag-summary .nf_orange {
  color: #ff6a2e;
}

.nf_auftrag-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.nf_black-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* 컨펌 */
.nf_auftrag-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.nf_auftrag-left {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.nf_auftrag-left img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.nf_auftrag-right {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.nf_tire-summary {
  /* background: #fafafa; */
  border: 1px solid #ddd;
  padding: 20px 24px;
  border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
}

.nf_tire-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf_tire-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.nf_tire-size {
  font-size: 20px;
  font-weight: 700;
  margin-right: 12px;
}

.nf_badge {
  background-color: #e6e6e6;
  color: #333;
  padding: 3px 8px;
  font-size: 13px;
  border-radius: 4px;
  margin-right: 8px;
}

.nf_logo-inline {
  height: 26px;
  margin-right: 12px;
}

.nf_tire-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.nf_tire-attrs p {
  margin: 0;
}

.nf_tire-attrs strong {
  color: #222;
}


.nf_icon-inline { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }

.nf_highlighted-card {
  border: 2px solid var(--hankook-orange) !important;
  background-color: #fff8f3 !important;
}
.nf_highlighted-card .nf_tire-number {
  background-color: var(--hankook-orange) !important;
  color: white !important;
}



/* Generic left list highlight if present */
.nf_left-list-item.nf_selected,
.left-list .nf_selected,
.nf_listbox .nf_selected {
  border-color: var(--hankook-orange) !important;
  background-color: #fff8f3 !important;
  color: var(--text);
}


.nf_tirebox {position: relative;}
.nf_tirebox:not(.tireOn) {pointer-events: none;}
.nf_tirebox::before,
.nf_tirebox::after {content: ''; display: block; border-radius: 10px;}
.nf_tirebox::before {width: 37px; height: 80px; text-align: center; background-position: center center; background-repeat: no-repeat; background-size: auto 94%; border: 3px dashed transparent; box-sizing: border-box; z-index: 1; position: relative;}
.nf_tirebox:not(.tireOn)::before { opacity: .5;}
.nf_tirebox::after {width: 30px; height: 73px; background-color: #fff; position: absolute; top: 3px; left: 50%; margin-left: -15px;}
.nf_tireLeft .nf_tirebox::before {background-image: url(../../front/images/img-tireL.png);}
.nf_tireRight .nf_tirebox::before {background-image: url(../../front/images/img-tireR.png);}

.nf_tirebox .tire img {max-height: 100%;}
.nf_tirebox .tire img ~ img{ margin: 0 0 0 3px;}

.nf_tirebox .number {width: 30px; height: 30px; background-color: #d2d4d6; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 22px; color: #fff;}
.nf_tirebox .number {margin-top: 3px;}

.nf_tirebox.hover::before{border-color: #ec6608;}

/* === Tire selection highlighting === */
.nf_tirebox.nf_selected::before {
  border-color: var(--hankook-orange);
}

.nf_tirebox.nf_selected .number 
{
  background: var(--hankook-orange);
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
}

/* Spare mode checkbox 활성화 시 스타일 */
#nf_spareMode:checked + span,
#nf_spareMode:checked ~ label {
  color: var(--hankook-orange);
  font-weight: 600;
}

/* 예비타이어 표시 */
.nf_tirebox.nf_spare {
  outline: 3px dashed #ffb300;
  box-shadow: 0 0 0 4px rgba(255,179,0,.2);
  position: relative;
}
.nf_tirebox .nf_spare-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  background: #ffb300;
  color: #000;
  font-weight: 700;
}
/* 체크박스 크기 확대 */
.nf_spare-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  transform: scale(1.5); /* 기본 대비 1.5배 */
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* 체크박스 라벨 스타일 */
.nf_spare-label {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #333;
}

.nf_spare-label input[type="checkbox"]:checked + span,
.nf_spare-label input[type="checkbox"]:checked ~ label {
  color: var(--hankook-orange);
  font-weight: 700;
}

.nf_tab-content button:hover {
  /* background-color: #f6f6f6; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* 기본 그림자 */
}

/* 팝업 배경 */
.nf_tire-popup {
  width: 500px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
  font-family: Arial, sans-serif;
}

.nf_tire-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.nf_tire-popup-header h2 {
  margin: 0;
  font-size: 18px;
}

.nf_close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.nf_tire-section {
  margin-top: 15px;
}

.nf_tire-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.nf_tire-section label {
  display: block;
  margin-top: 10px;
}

.nf_tire-section textarea,
.nf_tire-section select {
  width: 100%;
  margin-top: 5px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.nf_popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.nf_popup {
  background: #fff;
  border-radius: 10px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: visible;
}

/* 헤더 영역 */
.nf_popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd; /* 헤더 하단 경계 */
  font-size: 18px;
  font-weight: bold;
}

/* 닫기 버튼 */
.nf_popup-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #555;
}

.nf_popup-close:hover {
  color: #000;
}

/* 본문 영역 */
.nf_popup-body {
  padding: 20px 20px 0px 20px;
}

/* 라디오 버튼 그룹 */
.nf_popup .nf_radio-group {
  margin-bottom: 15px;
}

.nf_popup .nf_radio-group label{
	width: 96%	
}

/* 셀렉트 박스 */
.nf_popup select {
  width: 97%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  z-index: 2000;
  position: relative;
}

/* 텍스트영역 */
.nf_popup textarea {
  width: 97%;
  min-height: 60px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  box-sizing: border-box;
}

.nf_popup input[type="text"], 
.nf_popup select {
  width: 96%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 8px;
}

/* 버튼 영역 */
.nf_popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 20px;
  justify-content: center;
}

.nf_btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.nf_btn-cancel {
  background: #ccc;
  color: #000;
}

.nf_btn-save {
  background: #ff6600;
  color: #fff;
}

/* 상품검색 팝업 */
/* Overlay & Popup */
.nf_search-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  display:flex; align-items:center; justify-content:center;
  z-index:1000;
}
.nf_search-popup{
  width:min(760px, 92vw);
  max-height:90vh;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  display:flex; flex-direction:column;
  overflow:hidden;
}

/* Header */
.nf_search-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px;
  border-bottom:1px solid #e9e9e9;
}
.nf_search-header h2{ margin:0; font-size:22px; }
.nf_close{
  border:none; background:none; font-size:28px; line-height:1; cursor:pointer; color:#555;
}
.nf_close:hover{ color:#000; }

/* Search bar */
.nf_search-bar.tirePop{ padding:14px 20px 0; margin:0px }
.nf_search-inputwrap{
  border:2px solid #111; border-radius:10px;
  padding:12px; display:flex; gap:10px; align-items:center; width:100%;
}
#nfSearchInput{
  flex:1; border:1px solid #e9e9e9; border-radius:6px; padding:10px 12px;
  font-size:15px; outline:none; background:#fff;
}
.nf_search-btn{
  width:44px; height:44px; border:1px solid #e9e9e9; border-radius:8px;
  background:#fff; cursor:pointer; font-size:18px;
}

/* Body & list */
.nf_search-body{ padding:16px 20px 20px; overflow:hidden; }
.nf_result-list{ max-height:60vh; overflow:auto; padding-right:4px; }

/* 카드(3행 구성) */
.nf_result-card{
  background:#fff; border:1px solid #e6e6e6; border-radius:12px;
  padding:14px 16px; margin-bottom:12px; cursor:pointer;
  box-shadow:0 1px 0 rgba(0,0,0,.03);
}
.nf_result-card:hover{ border-color:#cfd3d7; }

.nf_result-card .nf_comment{
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

/* 행 */
.nf_row1{ font-weight:800; font-size:16px; margin-bottom:8px; }
.nf_row1 .nf_sep{ margin:0 10px; color:#999; }

.nf_row2, .nf_row3{
  display:flex; flex-wrap:wrap; gap:18px 24px;
  font-size:14px; color:#333; line-height:1.4;
}
.nf_row2{ margin-bottom:6px; }

.nf_k{ color:#666; font-weight:700; margin-right:6px; } /* key label */

/* 반응형 */
@media (max-width: 560px){
  .nf_row2, .nf_row3{ gap:10px 16px; font-size:13px; }
}

/* select 박스를 input과 동일하게 스타일 맞추기 */
.nf_select1 {
  /* height: 40px; */                               /* input 높이와 동일 */
  padding: 8px 12px;                          /* input padding과 동일 */
  border-radius: 8px;                         /* input 라운드 값 동일 */
  border: 1px solid #e1e4e8;                  /* input border와 동일 */
  /* background: #ffffff; */                        /* input 배경과 동일 */
  font-size: 14px;                            /* input 글자 크기 동일 */
  /* line-height: calc(40px - 2px); */              /* input 라인 높이 동일 */
  color: #000;                                /* input 글자색 동일 */

  /* 기본 화살표 제거하고 커스텀 아이콘 추가 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px;                        /* 화살표 공간 확보 */
}

/* IE용 기본 화살표 제거 */
.nf_select1::-ms-expand {
  display: none;
}

/* 포커스 시 input과 동일한 하이라이트 효과 */
.nf_select1:focus {
  outline: none;
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

/* 리스트 */
/* Panel */
.nf_search-panel{
  width: 100%;
  border: 1px solid #000;
  border-radius:14px;
  padding:20px;
  background:#fff;
  max-width:1600px;
  margin:5px 0 10px 0;
  font-family: 'Noto Sans KR', sans-serif;
  color:#333;
}

.nf_search-panel .nf_icon-btn {
	/* background: url(../../front/images/ico/ico-search.png) no-repeat center center; */	
}

/* Grid */
.nf_search-panel .nf_grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px 24px;
}
@media (max-width: 1200px){
  .nf_search-panel .nf_grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 768px){
  .nf_search-panel .nf_grid{ grid-template-columns:1fr; }
}

/* Field */
.nf_search-panel .nf_field dl{margin:0;padding:0;}
.nf_search-panel .nf_field dt{margin-bottom:6px;}
.nf_search-panel .nf_field dd{margin:0;}

.nf_search-panel .nf_label{
  font-size:14px;
  font-weight:600;
  color:#444;
  line-height:1.2;
  white-space:nowrap;          /* 한 줄 유지 */
  overflow:hidden;
  text-overflow:ellipsis;      /* 너무 길면 … */
  display:block;
}

/* Input, Select */
.nf_search-panel .nf_input, .nf_select{
  width:100%;
  height:44px;
  border:1px solid #dadada;
  border-radius:10px;
  font-size:15px;
  padding:0 14px;
  outline:none;
}
.nf_search-panel .nf_input:focus, .nf_select:focus{
  border-color:#ff8a00;
  box-shadow:0 0 0 3px #ff8a0022;
}

/* Input with icon */
.nf_search-panel .nf_input-group{position:relative;display:flex;align-items:center;}
.nf_search-panel .nf_icon-btn{
  position:absolute;right:8px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border:none;border-radius:8px;
  cursor:pointer;
  display:grid;place-items:center;
}

/* Divider */
.nf_search-panel .nf_divider{border:none;margin:9px 0;}

/* Bottom Row */
.nf_search-panel .nf_bottom{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px 24px;
  align-items:end;
}
@media (max-width: 1000px){
  .nf_search-panel .nf_bottom{grid-template-columns:1fr;}
}

.nf_search-panel .nf_date-range{display:flex;align-items:center;gap:10px;}
.nf_search-panel .nf_tilde{color:#999;}

/* Actions */
.nf_search-panel .nf_actions{
  display:flex;justify-content:flex-end;gap:12px;width:100%;
}
.nf_search-panel .nf_btn{
  height:44px;padding:0 18px;border-radius:24px;
  border:1px solid transparent;cursor:pointer;
  font-weight:600;display:inline-flex;align-items:center;gap:8px;
}
.nf_search-panel .nf_btn--ghost{background:#fff;border-color:#d9d9d9;color:#333;}
.nf_search-panel .nf_btn--ghost:hover{border-color:#bbb;}
.nf_search-panel .nf_btn--primary{background:#333;color:#fff;}
.nf_search-panel .nf_btn--primary:hover{background:#111;}


/* 타이어호텔 */
.nf_table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
}

.nf_table-wrapper .nf_table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
}

.nf_table-wrapper .nf_table thead th {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
  text-align: center;
}

.nf_table-wrapper .nf_table tbody td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #444;
  text-align: center;
  vertical-align: middle;
  font-weight: 300;
}

.nf_table-wrapper .nf_table tbody tr:nth-child(even) {
  background: #fafafa;
}

.nf_table-wrapper .nf_table tbody tr:hover {
  background: #f0f8ff;
}

/* Status chip */
.nf_table-wrapper .nf_status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  width: 100%;
  text-align: center;
}

.nf_table-wrapper .nf_status--storage {
	background:#e0f2fe; color:#0369a1; border-color:#bae6fd
}
.nf_table-wrapper .nf_status--repair {
	background:#fff7ed; color:#b45309; border-color:#fed7aa
}
.nf_table-wrapper .nf_status--service { 
	background:#ecfdf5; color:#15803d; border-color:#bbf7d0
}
.nf_table-wrapper .nf_status--disposed {
	background:#fef2f2; color:#b91c1c; border-color:#fecaca
}
.nf_table-wrapper .nf_status--casing {
	background:#f5f3ff; color:#6d28d9; border-color:#ddd6fe
}

/* Remark 칼럼 전용 */
/* 순번 컬럼 */
.nf_table-wrapper .nf_table .nf_index {
  width: 40px;
  text-align: center;
  font-weight: 600;
  color: #555;
  background: #f9f9f9;
  border-right: 1px solid #eee;
}

.nf_table-wrapper .nf_row-remark td.nf_remark {
  white-space: normal;
  text-align: left;
  font-weight: 400;
}

.nf_table-wrapper .nf_row-remark:hover td {
  background: #fff8e1;
}

/* 데이터 행 + remark 행을 하나의 카드처럼 보이도록 */
.nf_table-wrapper .nf_row-main td,
.nf_table-wrapper .nf_row-remark td {
  border-bottom: none; /* 두 행 사이 경계선 제거 */
}

.nf_table-wrapper .nf_row-remark td {
  border-bottom: 1px solid #000; /* remark 밑에만 경계선 */
  background: #fffef5;
}

.nf_table-wrapper .nf_row-main:hover td,
.nf_table-wrapper .nf_row-remark:hover td {
  background: #f9f9f9;
}

/* Emphasized Stats */
.stats{
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:12px;
	margin:16px 0;
	width: 100%;
    text-align: center;
}
.stat{border-radius:16px;padding:14px 16px;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.06)}
.stat .k{font-size:12px;opacity:.9}
.stat .v{font-size:22px;font-weight:900;margin-top:4px}
.stat.storage{
	background:#e0f2fe; color:#0369a1; border-color:#bae6fd
}
.stat.repair{
	background:#fff7ed; color:#b45309; border-color:#fed7aa
}
.stat.service{
	background:#ecfdf5; color:#15803d; border-color:#bbf7d0
}
.stat.disposed{
	background:#fef2f2; color:#b91c1c; border-color:#fecaca
}
.stat.casing{
	background:#f5f3ff; color:#6d28d9; border-color:#ddd6fe
}

@media (max-width:1024px){.row{grid-template-columns:repeat(2,minmax(0,1fr))}.row.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.row{grid-template-columns:1fr}.row.compact{grid-template-columns:1fr}.stats{grid-template-columns:1fr}}
.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:12px}
.field{display:flex;flex-direction:column;gap:6px}
.label{font-size:12px;color:#374151;font-weight:600}
.input, select, .date{height:44px;width:100%;border:1px solid var(--border);border-radius:12px;padding:0 12px;outline:none;background:#fff;font-size:14px}
.input:focus, select:focus, .date:focus{box-shadow:0 0 0 3px var(--ring);border-color:#6366f1}
.range{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.sep{color:var(--muted);font-weight:700}
.actions{display:flex;justify-content:flex-end;gap:10px}
.btn{appearance:none;border:1px solid var(--border);background:#fff;color:var(--text);border-radius:999px;padding:10px 18px;cursor:pointer;font-weight:700}
.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn:hover{box-shadow:0 0 0 3px rgba(99,102,241,.15)}
