@charset "UTF-8";
main.mtf-warranty-page {
  background-color: #f5f7fb !important;
}

.mtf-warranty {
  width: 100%;
  padding: 40px 0 0;
  background: #f5f7fb;
  color: #111827;
  font-family: "Samsung One 400", sans-serif;
  box-sizing: border-box;
}
.mtf-warranty *,
.mtf-warranty *::before,
.mtf-warranty *::after {
  box-sizing: border-box;
}
.mtf-warranty__container {
  width: 100%;
  max-width: 920px;
  margin: 32px auto;
  padding: 32px 0;
}

.mtf-warranty__header {
  margin-bottom: 32px;
  text-align: center;
}
.mtf-warranty__header[hidden] {
  display: none;
}
.mtf-warranty__title {
  margin: 0 0 12px;
  color: #26334b;
  font-size: 32px;
  font-family: "Samsung Sharp Sans", sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.mtf-warranty__subtitle {
  margin: 0;
  color: #374151;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
.mtf-warranty__support-notice {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}
.mtf-warranty__support-notice a {
  color: #1f3a5f;
  font-weight: 500;
}

.mtf-warranty__training-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid #fcd34d;
  border-radius: 18px;
  background: #fef3c7;
  color: #92400e;
}
.mtf-warranty__training-box[hidden] {
  display: none;
}
.mtf-warranty__training-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}
.mtf-warranty__training-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mtf-warranty__training-content strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}
.mtf-warranty__training-content span {
  font-size: 13px;
  line-height: 1.45;
}
.mtf-warranty__wkd-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
  color: #1d4ed8;
}
.mtf-warranty__wkd-notice-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}
.mtf-warranty__wkd-notice-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mtf-warranty__wkd-notice-content strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}
.mtf-warranty__wkd-notice-content span {
  font-size: 13px;
  line-height: 1.45;
}
.mtf-warranty__wkd-upload-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.45;
}

.mtf-warranty__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mtf-warranty__form[hidden] {
  display: none;
}
.mtf-warranty__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f9fafb;
  transition: opacity 0.25s ease, filter 0.25s ease, background-color 0.25s ease;
}
.mtf-warranty__section--active {
  opacity: 1;
}
.mtf-warranty__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}
.mtf-warranty__card[hidden] {
  display: none;
}

.mtf-warranty__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mtf-warranty__field label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #374151;
}
.mtf-warranty__field[hidden] {
  display: none;
}
.mtf-warranty__field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px;
}
.mtf-warranty__optional {
  color: #6b7280;
  font-weight: 500;
}
.mtf-warranty__hint {
  display: block;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}
.mtf-warranty__hint[hidden] {
  display: none;
}
.mtf-warranty__duplicate-hint, .mtf-warranty__role-hint {
  display: block;
  margin-top: 4px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.mtf-warranty__duplicate-hint[hidden], .mtf-warranty__role-hint[hidden] {
  display: none;
}
.mtf-warranty__input-wrap {
  position: relative;
  width: 100%;
}
.mtf-warranty__input-wrap input[type=text],
.mtf-warranty__input-wrap input[type=email],
.mtf-warranty__input-wrap input[type=date],
.mtf-warranty__input-wrap select {
  width: 100%;
  min-height: 48px;
  padding: 12px 46px 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  line-height: 1.3;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}
.mtf-warranty__input-wrap input[type=text]::placeholder,
.mtf-warranty__input-wrap input[type=email]::placeholder,
.mtf-warranty__input-wrap input[type=date]::placeholder,
.mtf-warranty__input-wrap select::placeholder {
  color: #9ca3af;
}
.mtf-warranty__input-wrap input[type=text]:focus,
.mtf-warranty__input-wrap input[type=email]:focus,
.mtf-warranty__input-wrap input[type=date]:focus,
.mtf-warranty__input-wrap select:focus {
  outline: none;
  border-color: #1f3a5f;
  box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.12);
}
.mtf-warranty__input-wrap input[type=text]:disabled,
.mtf-warranty__input-wrap input[type=email]:disabled,
.mtf-warranty__input-wrap input[type=date]:disabled,
.mtf-warranty__input-wrap select:disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}
.mtf-warranty__input-wrap input[type=text][readonly],
.mtf-warranty__input-wrap input[type=email][readonly],
.mtf-warranty__input-wrap input[type=date][readonly],
.mtf-warranty__input-wrap select[readonly] {
  cursor: default;
}
.mtf-warranty__input-wrap select {
  appearance: none;
  padding-right: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 7.5 10 12.5 15 7.5'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 40px center;
  background-size: 16px;
  cursor: pointer;
}
.mtf-warranty__input-wrap select:disabled {
  cursor: not-allowed;
}
.mtf-warranty__input-wrap[data-field-state=success] input,
.mtf-warranty__input-wrap[data-field-state=success] select {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.mtf-warranty__input-wrap[data-field-state=success] .mtf-warranty__input-status {
  color: #059669;
}
.mtf-warranty__input-wrap[data-field-state=success] .mtf-warranty__input-status::before {
  content: "✓";
}
.mtf-warranty__input-wrap[data-field-state=error] input,
.mtf-warranty__input-wrap[data-field-state=error] select {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.mtf-warranty__input-wrap[data-field-state=error] .mtf-warranty__input-status {
  color: #b91c1c;
}
.mtf-warranty__input-wrap[data-field-state=error] .mtf-warranty__input-status::before {
  content: "!";
}
.mtf-warranty__input-wrap[data-field-state=neutral] .mtf-warranty__input-status {
  display: none;
}
.mtf-warranty__input-status {
  position: absolute;
  top: 50%;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.mtf-warranty__input-action {
  position: absolute;
  top: 50%;
  right: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.25s ease, background-color 0.25s ease;
}
.mtf-warranty__input-action:hover {
  color: #1f3a5f;
  background: rgba(31, 58, 95, 0.08);
}
.mtf-warranty__input-action:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.mtf-warranty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.18s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.mtf-warranty__button:hover {
  transform: translateY(-1px);
}
.mtf-warranty__button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.mtf-warranty__button--primary {
  align-self: flex-start;
  background: #1f3a5f;
  color: #ffffff;
}
.mtf-warranty__button--primary:not(:disabled):hover {
  background: #172c49;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.mtf-warranty__button--outline {
  width: 100%;
  border: 1px solid rgba(31, 58, 95, 0.22);
  background: #ffffff;
  color: #1f3a5f;
  font-size: 14px;
}
.mtf-warranty__button--outline:not(:disabled):hover {
  border-color: #1f3a5f;
  background: rgba(31, 58, 95, 0.08);
}
.mtf-warranty__button--submit {
  width: 100%;
  margin-top: 8px;
  background: #1f3a5f;
  color: #ffffff;
}
.mtf-warranty__button--submit:not(:disabled):hover {
  background: #172c49;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.mtf-warranty__message {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.mtf-warranty__message.is-success {
  display: block;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}
.mtf-warranty__message.is-error {
  display: block;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}
.mtf-warranty__message.is-info {
  display: block;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.mtf-warranty__badge-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}
.mtf-warranty__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(31, 58, 95, 0.22);
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.mtf-warranty__inner-units {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mtf-warranty__inner-unit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}
.mtf-warranty__indoor-units-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mtf-warranty__indoor-units-controls[hidden] {
  display: none;
}
.mtf-warranty__cascade-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mtf-warranty__cascade-wrapper[hidden] {
  display: none;
}
.mtf-warranty__cascade-units {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mtf-warranty__cascade-units:empty {
  display: none;
}
.mtf-warranty__cascade-unit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}
.mtf-warranty__cascade-unit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mtf-warranty__cascade-unit-title {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}
.mtf-warranty__cascade-remove {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.mtf-warranty__cascade-remove:hover {
  color: #b91c1c;
  background: #fef2f2;
}
.mtf-warranty__cascade-unit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mtf-warranty__upload {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed #d1d5db;
  border-radius: 18px;
  background: #ffffff;
  color: #6b7280;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.18s ease;
}
.mtf-warranty__upload:hover, .mtf-warranty__upload--dragover {
  border-color: #1f3a5f;
  background: rgba(31, 58, 95, 0.08);
  transform: translateY(-1px);
}
.mtf-warranty__upload--dragover {
  border-style: solid;
}
.mtf-warranty__upload input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mtf-warranty__upload strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}
.mtf-warranty__upload span {
  color: #374151;
  font-size: 13px;
  line-height: 1.4;
}
.mtf-warranty__upload small {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}
.mtf-warranty__upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f3a5f;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.mtf-warranty__skip-disclaimer {
  margin: 0 0 -8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

#mtf-skip-upload-wrapper {
  display: contents;
}
#mtf-skip-upload-wrapper[hidden] {
  display: none;
}

.mtf-warranty__status-check {
  padding: 24px;
  border: 1px solid #a7f3d0;
  border-radius: 18px;
  background: #ecfdf5;
  color: #374151;
}
.mtf-warranty__status-check[hidden] {
  display: none;
}
.mtf-warranty__status-check h3 {
  margin: 0 0 16px;
  color: #047857;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.mtf-warranty__status-check h4 {
  margin: 20px 0 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}
.mtf-warranty__status-check p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}
.mtf-warranty__check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mtf-warranty__check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}
.mtf-warranty__check-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.mtf-warranty__check-item span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}
.mtf-warranty__check-item.is-success {
  border-color: #a7f3d0;
  background: rgba(255, 255, 255, 0.75);
}
.mtf-warranty__check-item.is-success strong,
.mtf-warranty__check-item.is-success .mtf-warranty__check-icon {
  color: #047857;
}
.mtf-warranty__check-item.is-neutral strong,
.mtf-warranty__check-item.is-neutral .mtf-warranty__check-icon {
  color: #374151;
}
.mtf-warranty__check-item.is-error {
  border-color: #fecaca;
  background: #fef2f2;
}
.mtf-warranty__check-item.is-error strong,
.mtf-warranty__check-item.is-error .mtf-warranty__check-icon {
  color: #b91c1c;
}
.mtf-warranty__check-icon {
  flex: 0 0 auto;
  width: 20px;
  font-weight: 900;
  line-height: 1.2;
}
.mtf-warranty__status-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #a7f3d0;
}
.mtf-warranty__status-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
}
.mtf-warranty__status-footer p,
.mtf-warranty__status-footer li {
  color: #374151;
  font-size: 13px;
  line-height: 1.5;
}
.mtf-warranty__status-footer ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.mtf-warranty__privacy {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}
.mtf-warranty__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mtf-warranty__privacy input {
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: #1f3a5f;
}

.mtf-warranty__success {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid #a7f3d0;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(5, 150, 105, 0.16), transparent 34%), linear-gradient(180deg, #ecfdf5 0%, #ffffff 72%);
  color: #374151;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  margin-top: 32px;
}
.mtf-warranty__success[hidden] {
  display: none;
}
.mtf-warranty__success::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.08);
  pointer-events: none;
}
.mtf-warranty__success-content {
  position: relative;
  z-index: 1;
}
.mtf-warranty__success-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(5, 150, 105, 0.26), 0 0 0 10px rgba(5, 150, 105, 0.1);
}
.mtf-warranty__success-icon span {
  display: block;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}
.mtf-warranty__success h3 {
  margin: 0 0 12px;
  color: #047857;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.mtf-warranty__success p {
  max-width: 680px;
  margin: 0 auto 20px;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}
.mtf-warranty__success-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
  text-align: left;
}
.mtf-warranty__success-details div {
  padding: 16px;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.mtf-warranty__success-details span {
  display: block;
  margin-bottom: 4px;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.mtf-warranty__success-details strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}
.mtf-warranty__success-note {
  color: #6b7280 !important;
  font-size: 13px !important;
}
.mtf-warranty__button--success {
  background: #059669;
  color: #ffffff;
}
.mtf-warranty__button--success:not(:disabled):hover {
  background: #047857;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.22);
}

@media (max-width: 768px) {
  .mtf-warranty {
    padding: 24px 0;
  }
  .mtf-warranty__container {
    padding: 24px 16px;
  }
  .mtf-warranty__title {
    font-size: 28px;
  }
  .mtf-warranty__subtitle {
    font-size: 16px;
  }
  .mtf-warranty__section {
    padding: 20px;
  }
  .mtf-warranty__inner-unit, .mtf-warranty__cascade-unit-fields, .mtf-warranty__field-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mtf-warranty__button {
    width: 100%;
  }
  .mtf-warranty__button--primary {
    align-self: stretch;
  }
  .mtf-warranty__training-box {
    flex-direction: column;
  }
  .mtf-warranty__wkd-notice {
    flex-direction: column;
  }
  .mtf-warranty__success {
    padding: 24px 16px;
  }
  .mtf-warranty__success-details {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .mtf-warranty {
    padding: 16px 0;
  }
  .mtf-warranty__container {
    padding: 20px 12px;
  }
  .mtf-warranty__section {
    padding: 16px;
  }
  .mtf-warranty__status-check {
    padding: 16px;
  }
  .mtf-warranty__upload {
    padding: 20px 12px;
  }
}
