/* NWC Rental - UI premium (Impreza-friendly) */
.nwc-rental-wrap{
  width: 100%;
  font-family: inherit;
}

.nwc-rental-hero{
  background: linear-gradient(180deg, #fafafa, #fff);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.06);
  padding: 24px 22px;
  margin: 0 0 18px;
}

.nwc-rental-hero--success{
  border-color: rgba(22,163,74,.25);
  box-shadow: 0 16px 44px rgba(22,163,74,.07);
}

.nwc-rental-hero__title{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.2px;
  margin: 0 0 10px;
  color: #111;
}

.nwc-rental-hero__lead{
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 14px;
  max-width: 980px;
}

.nwc-rental-steps{
  margin: 0;
  padding-left: 18px;
  color: #222;
  font-size: 16px;
}
.nwc-rental-steps li{ margin: 8px 0; }

.nwc-rental-panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.06);
  overflow: hidden;
}

.nwc-rental-panel__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding: 18px 22px;
}

.nwc-rental-summary{
  display:flex;
  gap:12px;
  align-items:baseline;
}
.nwc-rental-summary__k{
  font-size:14px;
  color:#555;
  font-weight:800;
}
.nwc-rental-summary__v{
  font-size:26px;
  color:#111;
  font-weight:900;
}

.nwc-rental-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nwc-rental-divider{
  height:1px;
  background:#f0f0f0;
  margin:0;
}

.nwc-rental-table{
  width:100%;
}
.nwc-rental-table__head{
  display:grid;
  grid-template-columns: 1.6fr .6fr .6fr;
  background:#f6f6f6;
  padding: 14px 22px;
  font-weight: 900;
  color:#111;
  font-size: 14px;
}
.nwc-rental-row{
  display:grid;
  grid-template-columns: 1.6fr .6fr .6fr;
  align-items:center;
  gap:10px;
  padding: 14px 22px;
  border-top:1px solid #f0f0f0;
}

.nwc-rental-prod{
  display:flex;
  gap:12px;
  align-items:center;
  min-width:0;
}
.nwc-rental-prod__img{
  width:62px;
  height:62px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #eee;
  background:#fafafa;
  flex:0 0 auto;
}
.nwc-rental-prod__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.nwc-rental-prod__meta{ min-width:0; }
.nwc-rental-prod__name{
  display:block;
  font-weight: 900;
  color:#111;
  text-decoration:none;
  font-size: 16px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nwc-rental-prod__sku{
  font-size: 13px;
  color:#666;
  margin-top:4px;
}

.nwc-rental-qty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.nwc-qty-btn{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid #e5e5e5;
  background:#fff;
  font-weight:900;
  font-size: 18px;
  line-height: 1;
}
.nwc-qty-input{
  width:78px;
  height:38px;
  border-radius:12px;
  border:1px solid #e5e5e5;
  text-align:center;
  font-weight:900;
  font-size: 16px;
  background:#fff;
}

.nwc-rental-row__actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.nwc-rental-empty{
  padding: 26px 22px;
}
.nwc-rental-empty__title{
  font-weight:900;
  font-size:20px;
  margin:0 0 6px;
}
.nwc-rental-empty__text{
  font-size:15px;
  color:#555;
}

.nwc-rental-formwrap{
  padding: 22px;
}
.nwc-rental-formwrap__title{
  font-weight:900;
  font-size: 20px;
  margin: 0 0 14px;
  color:#111;
}

.nwc-field label{
  display:block;
  font-weight:900;
  font-size:14px;
  color:#111;
  margin:0 0 6px;
}
.nwc-field label span{ color:#b91c1c; }

.nwc-field input,
.nwc-field select,
.nwc-field textarea{
  width:100%;
  border-radius:14px;
  border:1px solid #e7e7e7;
  padding: 12px 12px;
  font-size: 15px;
  outline:none;
  background:#fbfbfb;
}
.nwc-field input:focus,
.nwc-field select:focus,
.nwc-field textarea:focus{
  background:#fff;
  border-color: rgba(185,28,28,.45);
  box-shadow: 0 0 0 4px rgba(185,28,28,.08);
}

.nwc-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-bottom: 12px;
}

.nwc-radio{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding: 6px 0 0;
}
.nwc-radio label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:#222;
  font-size: 15px;
}

.nwc-help{
  font-size: 13px;
  color:#666;
  margin-top: 6px;
}

.nwc-submitbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.nwc-submitbar__hint{
  font-size: 13px;
  color:#555;
  max-width: 520px;
}

.nwc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding: 10px 14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.nwc-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.nwc-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.nwc-btn--primary{
  background:#b91c1c;
  border-color:#b91c1c;
  color:#fff;
}
.nwc-btn--danger{
  background:#fff;
  color:#b91c1c;
  border-color: rgba(185,28,28,.35);
}
.nwc-btn--ghost{
  background:#fff;
}
.nwc-btn--xl{
  padding: 13px 18px;
  border-radius: 16px;
  font-size: 16px;
}

.nwc-badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 12px;
  border-radius: 999px;
  border:1px solid #eee;
  background:#fff;
  font-weight:900;
}

.nwc-alert{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid #eee;
  background:#f9f9f9;
  font-weight:900;
}
.nwc-alert--err{
  border-color: rgba(185,28,28,.25);
  background: rgba(185,28,28,.06);
  color:#7f1d1d;
}

.nwc-status-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  padding: 18px 22px;
}
.nwc-status-card{
  border:1px solid #eee;
  border-radius:16px;
  padding: 14px;
  background:#fff;
}
.nwc-status-card__k{
  font-size: 13px;
  color:#666;
  font-weight:900;
}
.nwc-status-card__v{
  font-size: 18px;
  font-weight: 900;
  color:#111;
  margin-top: 6px;
}

.nwc-details{
  padding: 18px 22px;
}
.nwc-details__title{
  font-size: 18px;
  font-weight: 900;
  color:#111;
  margin: 0 0 12px;
}

.nwc-kv{
  border:1px solid #eee;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.nwc-kv__row{
  display:grid;
  grid-template-columns: 240px 1fr;
  border-top:1px solid #f0f0f0;
}
.nwc-kv__row:first-child{ border-top:none; }
.nwc-kv__k{
  padding: 12px 14px;
  background:#f7f7f7;
  font-weight:900;
  color:#111;
}
.nwc-kv__v{
  padding: 12px 14px;
  color:#111;
}

.nwc-rental-linkbox{
  margin-top: 14px;
  background: rgba(22,163,74,.06);
  border: 1px solid rgba(22,163,74,.20);
  border-radius: 16px;
  padding: 14px;
}
.nwc-rental-linkbox__label{
  font-weight: 900;
  color:#14532d;
  margin-bottom: 8px;
  font-size: 15px;
}
.nwc-rental-linkbox__row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nwc-rental-linkbox__row input{
  flex: 1 1 420px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 12px 12px;
  font-size: 14px;
  background:#fff;
}
.nwc-rental-linkbox__hint{
  font-size: 13px;
  color:#14532d;
  margin-top: 8px;
  font-weight: 800;
}

/* Toast */
.nwc-toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 999999;
  max-width: 92%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: opacity .2s ease, transform .2s ease;
}
.nwc-toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nwc-toast.is-ok{ background: rgba(17,17,17,.94); }
.nwc-toast.is-bad{ background: rgba(127,29,29,.94); }

/* Icon badge */
.nwc-rental-icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.nwc-rental-icon__i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 24px;
  margin-top: 9px;
}
.nwc-rental-icon__badge{
  position:absolute;
  top:-9px;
  right:-14px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background:#b91c1c;
  color:#fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* Responsive */
@media (max-width: 900px){
  .nwc-grid2{ grid-template-columns: 1fr; }
  .nwc-rental-table__head{ display:none; }
  .nwc-rental-row{ grid-template-columns: 1fr; align-items: stretch; }
  .nwc-rental-row__actions{ justify-content:flex-start; }
  .nwc-rental-qty{ justify-content:flex-start; }
  .nwc-status-cards{ grid-template-columns: 1fr; }
  .nwc-kv__row{ grid-template-columns: 1fr; }
  .nwc-kv__k{ border-bottom: 1px solid #eee; }
}
