/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Hide the DTE × close button on the 2026 on-page form — closing an embedded
   form makes no sense and would blank the container. ESC/close is handled in JS
   by reopening the form, so the button is purely confusing here. */
#warranty-form-2026 .DTE_Header_Close {
    display: none !important;
}

.modal {
  z-index: 100000;
}

div.dt-datetime {
  z-index: 100001;
}

div.selectize-dropdown {
  z-index: 100001;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
}

div#warranty-form {
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  color: white !important;
  background: linear-gradient(135deg, #6a0572 0%, #3b0a6b 50%, #1a0050 100%);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

div.DTE_Header,
div.DTE_Footer {
  background-color: transparent !important;
}

div.DTE_Header {
  border-bottom: none !important;
}

div.DTE_Footer {
  border-top: none !important;
}

div.required-field label.DTE_Label::before {
  content: "* " !important;
  color: red !important;
  display: inline !important;
}

label.DTE_Label {
  color: white !important;
  font-weight: 500;
}

div.DTE_Field {
  background: transparent !important;
}

div.DTE_Field:hover,
div.DTE_Body div.DTE_Body_Content div.DTE_Field:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

div.DTE_Form_Row {
  background: transparent !important;
}

div.DTE_Form_Row:hover,
div.DTE_Body div.DTE_Body_Content div.DTE_Form_Row:hover {
  background: transparent !important;
  background-color: transparent !important;
}

#warranty-form div.DTE_Body div.DTE_Body_Content div.DTE_Field:hover,
#warranty-form .DTE_Field:hover {
  background-color: transparent !important;
  border-color: transparent !important;
}

div.DTE_Form_Content {
  background: transparent !important;
}

div.DTE_Field input,
div.DTE_Field textarea {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: white !important;
  padding: 10px 14px !important;
}

.DTE_Field_Type_text input,
.DTE_Field_Type_datetime input,
.selectize-input,
.DTE_Field_Type_textarea textarea {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.selectize-input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.selectize-input input {
  color: white !important;
}

.selectize-dropdown {
  background: #3b0a6b !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.selectize-dropdown .optgroup-header {
  color: rgba(255, 255, 255, 0.7) !important;
}

.selectize-dropdown [data-selectable] {
  color: white !important;
  background: transparent !important;
}

.selectize-dropdown [data-selectable]:hover,
.selectize-dropdown .option:hover,
.selectize-dropdown .option.active,
.selectize-dropdown [data-selectable].active {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.selectize-dropdown .selected,
.selectize-dropdown .option.selected {
  background: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
}

div.DTE_Field input[type=color],
div.DTE_Field input[type=date],
div.DTE_Field input[type=datetime],
div.DTE_Field input[type=datetime-local],
div.DTE_Field input[type=email],
div.DTE_Field input[type=month],
div.DTE_Field input[type=number],
div.DTE_Field input[type=password],
div.DTE_Field input[type=search],
div.DTE_Field input[type=tel],
div.DTE_Field input[type=text],
div.DTE_Field input[type=time],
div.DTE_Field input[type=url],
div.DTE_Field input[type=week] {
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  color: white !important;
}

div.DTE_Field div.DTE_Field_Info {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 6px;
}

div.DTE_Field div.DTE_Field_Info.artisan-activity-description {
  font-size: 1.12em;
  line-height: 1.42;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96) !important;
  margin-top: 10px;
  max-width: 720px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

div.DTE_Field div.DTE_Field_Message,
div.DTE_Field div.DTE_Field_Error {
  font-size: 0.8em;
  color: #ff6b6b !important;
}

div.full-width-row h3 {
  color: white;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

div.editor-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

div.full-width-row {
  grid-column: 1 / -1;
}

/* Button Styling */
button.DTE_Action_Submit,
.DTE_Action_Submit,
div.DTE_Action button,
div.DTE button.btn.DTE_Action_Submit,
div.DTE div.DTE_Form_Buttons button.DTE_Action_Submit {
  background-color: #E9042D !important;
  background-image: none !important;
  color: white !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 8px 16px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
}

button.DTE_Action_Submit:hover,
.DTE_Action_Submit:hover,
div.DTE_Action button:hover,
div.DTE button.btn.DTE_Action_Submit:hover,
div.DTE div.DTE_Form_Buttons button.DTE_Action_Submit:hover {
  background-color: #171796 !important;
  background-image: none !important;
}

button.DTE_Action_Submit:active,
.DTE_Action_Submit:active,
div.DTE_Action button:active,
div.DTE button.btn.DTE_Action_Submit:active,
div.DTE div.DTE_Form_Buttons button.DTE_Action_Submit:active {
  background-color: #0f0f5a !important;
  background-image: none !important;
}

button.DTE_Action_Submit:focus,
.DTE_Action_Submit:focus,
div.DTE button.btn.DTE_Action_Submit:focus,
div.DTE div.DTE_Form_Buttons button.DTE_Action_Submit:focus {
  background-color: #E9042D !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Upload button styling */
div.DTE_Field_Type_upload button,
div.DTE_Field_Type_upload a.btn,
div.DTE_Field_Type_upload button.btn,
.DTE_Field_Type_upload button {
  background-color: #E9042D !important;
  color: white !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 8px 16px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background-color 0.2s ease !important;
}

div.DTE_Field_Type_upload button:hover,
div.DTE_Field_Type_upload a.btn:hover,
div.DTE_Field_Type_upload button.btn:hover,
.DTE_Field_Type_upload button:hover {
  background-color: #171796 !important;
}

/* Override DataTables Editor upload button styles */
div.DTE_Field_Type_upload div.upload button {
  background-color: #E9042D !important;
  color: white !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

div.DTE_Field_Type_upload div.upload button:hover {
  background-color: #171796 !important;
}

/* Upload file name and "no file" text */
div.DTE div.editor_upload div.cell,
div.DTE div.editor_upload div.rendered,
div.DTE_Field_Type_upload div.rendered,
div.DTE_Field_Type_upload .clearValue,
div.DTE div.editor_upload {
  color: white !important;
}

/* Drag and drop area text */
div.DTE div.editor_upload div.drop,
div.DTE div.editor_upload div.drop span {
  color: white !important;
}

/* DateTime picker styling */
div.dt-datetime {
  background: #ffffff !important;
  color: #241a3d !important;
  border: 1px solid rgba(59, 10, 107, 0.25) !important;
}

div.dt-datetime input {
  background: #ffffff !important;
  color: #241a3d !important;
  border: 1px solid rgba(59, 10, 107, 0.25) !important;
}

div.dt-datetime table,
div.dt-datetime thead th,
div.dt-datetime tbody td {
  border-color: rgba(59, 10, 107, 0.18) !important;
}

/* Day column headers (Mon-Sun) */
div.dt-datetime thead th {
  background: #4b1780 !important;
  color: #ffffff !important;
}

/* Keep day cells readable on white calendar background */
div.dt-datetime tbody td {
  background: #ffffff !important;
  color: #241a3d !important;
}

/* Month / year hover text */
div.dt-datetime .dt-datetime-month:hover,
div.dt-datetime .dt-datetime-year:hover,
div.dt-datetime .dt-datetime-title:hover,
div.dt-datetime .dt-datetime-title *:hover,
div.dt-datetime select:hover,
div.dt-datetime input:hover {
  color: #000000 !important;
}

/* Arrow before hover = white */
div.dt-datetime .dt-datetime-iconLeft,
div.dt-datetime .dt-datetime-iconRight,
div.dt-datetime .dt-datetime-prev,
div.dt-datetime .dt-datetime-next,
div.dt-datetime [class*="prev"],
div.dt-datetime [class*="next"],
div.dt-datetime [title*="Previous"],
div.dt-datetime [title*="Next"],
div.dt-datetime [aria-label*="Previous"],
div.dt-datetime [aria-label*="Next"] {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

div.dt-datetime .dt-datetime-iconLeft::before,
div.dt-datetime .dt-datetime-iconRight::before,
div.dt-datetime .dt-datetime-prev::before,
div.dt-datetime .dt-datetime-next::before,
div.dt-datetime [class*="prev"]::before,
div.dt-datetime [class*="next"]::before,
div.dt-datetime [title*="Previous"]::before,
div.dt-datetime [title*="Next"]::before,
div.dt-datetime [aria-label*="Previous"]::before,
div.dt-datetime [aria-label*="Next"]::before {
  color: #ffffff !important;
}

/* Radio button styling */
.DTE_Field_Type_radio {
  color: white !important;
}

.DTE_Field_Type_radio label {
  color: white !important;
  margin-right: 16px;
}

.DTE_Field_Type_radio .artisan-option-title,
.DTE_Field_Type_radio .artisan-option-description {
  display: block;
}

.DTE_Field_Type_radio .artisan-option-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.DTE_Field_Type_radio .artisan-option-description {
  font-size: 0.92em;
  line-height: 1.35;
  opacity: 0.9;
}

.DTE_Field_Type_radio .DTE_Field_Input>div>div,
.DTE_Field_Type_radio .DTE_Field_InputControl>div>div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.DTE_Field_Type_radio .DTE_Field_Input>div>div label,
.DTE_Field_Type_radio .DTE_Field_InputControl>div>div label {
  margin-right: 0;
  max-width: 320px;
}

.DTE_Field_Type_radio .DTE_Field_Input>div>div input,
.DTE_Field_Type_radio .DTE_Field_InputControl>div>div input {
  margin-top: 4px;
  flex: 0 0 auto;
}

/* Artisan activity selectize styling */
.DTE_Field .selectize-control {
  width: 100%;
}

.activity-disclaimer {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.activity-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.DTE_Field .selectize-dropdown {
  max-height: 300px;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(14, 3, 33, 0.42);
}

.DTE_Field .selectize-dropdown .artisan-select-option {
  padding: 8px 2px;
}

.DTE_Field .selectize-dropdown .option {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.DTE_Field .selectize-dropdown .option:last-child {
  border-bottom: 0;
}

.DTE_Field .selectize-dropdown .artisan-option-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.97);
  font-size: 15px;
  line-height: 1.18;
}

.DTE_Field .selectize-dropdown .artisan-option-description {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.64);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.DTE_Field .selectize-dropdown .option.disabled {
  cursor: not-allowed;
}

.DTE_Field .selectize-dropdown .option.disabled .artisan-option-title,
.DTE_Field .selectize-dropdown .option.disabled .artisan-option-description {
  opacity: 0.6;
}

.DTE_Field .selectize-input .artisan-select-item {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.DTE_Field .selectize-dropdown .active .artisan-option-description {
  color: rgba(255, 255, 255, 0.76);
}

.DTE_Field .selectize-dropdown .active .artisan-select-option,
.DTE_Field .selectize-dropdown .option:hover .artisan-select-option {
  transform: translateX(2px);
  transition: transform 0.14s ease;
}