/* Luxury Refund Request Portal Styles — Frantic Blades */
.refund-page-wrap {
  max-width: 100%;
  width: 100%;
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 60px);
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.refund-page-wrap .breadcrumb {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.refund-page-wrap .breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s ease;
}

.refund-page-wrap .breadcrumb a:hover {
  color: var(--hover-grey);
  text-decoration: underline;
}

/* Page Header */
.refund-hero-head {
  margin-bottom: 16px;
}

.refund-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #355E3B;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

.refund-hero-head h1 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  color: #FFFFFF;
}

.refund-hero-head p {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 760px;
}

/* 2-Column Layout */
.refund-layout-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
}

/* Figma Card Panel (#130E10 surface, #355E3B header, 1px solid #FFFFFF border) */
.refund-panel {
  background: #130E10;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  box-sizing: border-box;
}

.refund-panel-header {
  background: #355E3B;
  border-bottom: 1px solid #FFFFFF;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.refund-panel-header h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: #FFFFFF;
}

.refund-panel-header span {
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
}

.refund-panel-body {
  padding: 18px 24px;
  box-sizing: border-box;
}

/* Form Layout & Fields — Uniform 16px Gap Between All Fields */
#refundForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.refund-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.refund-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.refund-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.refund-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #FFFFFF;
}

.refund-field-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.refund-field input[type="text"],
.refund-field input[type="email"],
.refund-field input[type="number"],
.refund-field select,
.refund-field textarea {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  background: #000000;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Custom Figma Amount Stepper Selector */
.refund-amount-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 38px;
  border: 1px solid #FFFFFF;
  background: #000000;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.refund-amount-wrap:focus-within {
  border-color: #355E3B;
  box-shadow: inset 0 0 0 1px #355E3B;
}

.refund-amount-wrap input[type="number"] {
  flex: 1;
  width: 100%;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  color: #FFFFFF;
  padding: 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  box-sizing: border-box;
  outline: none !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.refund-amount-wrap input[type="number"]::-webkit-outer-spin-button,
.refund-amount-wrap input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.refund-amount-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  gap: 5px;
  padding: 0 14px 0 6px;
  box-sizing: border-box;
}

.refund-amount-arrow-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 2px;
  margin: 0;
  width: 14px;
  height: 10px;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.15s ease;
}

.refund-amount-arrow-btn svg {
  width: 10px;
  height: 6px;
  display: block;
  pointer-events: none;
}

.refund-amount-arrow-btn:hover {
  opacity: 0.7;
}

.refund-amount-arrow-btn:active {
  opacity: 0.45;
}

.refund-field input::placeholder,
.refund-field textarea::placeholder {
  color: #606060;
}

.refund-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23FFFFFF' d='M5 3.72973L1.16667 0L0 1.13514L5 6L10 1.13514L8.83333 0L5 3.72973Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 10px 6px;
  padding-right: 36px;
  cursor: pointer;
}

.refund-field select option {
  background: #130E10;
  color: #FFFFFF;
}

.refund-select-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.refund-select-wrap select {
  width: 100%;
  padding-right: 36px !important;
  background-image: none !important;
}

.refund-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 0;
  width: 10px;
  height: 6px;
}

.refund-select-arrow svg {
  width: 10px;
  height: 6px;
  display: block;
}

.refund-field textarea {
  height: auto;
  min-height: 70px;
  padding: 8px 14px;
  resize: vertical;
  line-height: 1.45;
}

.refund-field input:focus,
.refund-field select:focus,
.refund-field textarea:focus {
  border-color: #355E3B;
  box-shadow: inset 0 0 0 1px #355E3B;
}

.refund-field input:user-invalid,
.refund-field select:user-invalid,
.refund-field textarea:user-invalid {
  border-color: #FF0000;
}

.refund-field input:user-valid,
.refund-field select:user-valid,
.refund-field textarea:user-valid {
  border-color: #355E3B;
}

/* Custom Photo Upload Dropzone */
.refund-upload-zone {
  position: relative;
  background: #000000;
  border: 1px dashed #FFFFFF;
  padding: 0 16px;
  height: 52px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.refund-upload-zone:hover {
  border-color: #355E3B;
  background: rgba(53, 94, 59, 0.18);
}

.refund-upload-zone input[type="file"] {
  width: 100%;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #FFFFFF;
  cursor: pointer;
  margin: 0;
  line-height: normal;
}

.refund-upload-zone input[type="file"]::file-selector-button {
  background: #130E10;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  color: #FFFFFF;
  padding: 0 18px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

.refund-upload-zone input[type="file"]::file-selector-button:hover {
  background: #777374;
}

.refund-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.refund-image-preview img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid #FFFFFF;
}

/* Action Buttons — Exact Figma Component States */
.refund-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.refund-btn-primary {
  flex: 1 1 240px;
  height: 42px;
  padding: 0 24px;
  background: #FF0000;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}

.refund-btn-primary:hover:not(:disabled) {
  background: #FF7F7F;
}

.refund-btn-primary:active:not(:disabled) {
  background: #AD0000;
}

.refund-btn-primary:disabled {
  background: #130E10;
  color: #606060;
  cursor: not-allowed;
}

.refund-btn-secondary {
  height: 42px;
  padding: 0 24px;
  background: #130E10;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}

.refund-btn-secondary:hover {
  background: #777374;
}

.refund-btn-secondary:active {
  background: #2C2C2C;
}

.refund-success {
  display: none;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid #FFFFFF;
  background: #355E3B;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.6;
}

.refund-success.visible {
  display: block;
}

/* Right Column Info Blocks */
.refund-info-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.refund-info-box {
  background: #000000;
  border: 1px solid #FFFFFF;
  border-left: 4px solid #355E3B;
  padding: 16px 18px;
}

.refund-info-box h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.refund-info-box p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.refund-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refund-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.refund-checklist li span {
  color: #FFFFFF;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .refund-page-wrap {
    height: auto;
    min-height: calc(100svh - 70px);
    padding: 16px 18px 32px;
  }
  .refund-panel-header {
    padding: 12px 18px;
  }
  .refund-panel-body {
    padding: 18px;
  }
  .refund-layout-grid,
  .refund-grid-2 {
    grid-template-columns: 1fr;
  }
  .refund-btn-primary,
  .refund-btn-secondary {
    width: 100%;
    flex: 1 1 100%;
  }
}
