/* ================================
   Global
================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: "Segoe UI", Roboto, Arial, sans-serif;

  background:
    linear-gradient(rgba(0, 102, 102, 0.75), rgba(0, 102, 102, 0.75)),
    url("/images/feunrmf_building.jpg") center / cover no-repeat fixed;
}

/* ================================
   Main Application Card
================================ */

#main-content {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 40px auto;
  padding: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 15px 35px rgba(0, 102, 102, 0.08);
  overflow: hidden;
  padding: 15px;
}

/* ================================
   Header
================================ */

header {
  position: relative;
  padding: 32px 40px 28px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfb 100%);
  border-bottom: 1px solid #e8eeee;
}

header h1 {
  margin: 0;
  color: #006666;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

header p {
  margin: 8px 0 0;
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
}

/* ================================
   Reset Button
================================ */

#resetButton {
  position: absolute;
  top: 24px;
  left: 24px;

  padding: 8px 16px;

  border: 1px solid #dc3545;
  border-radius: 6px;

  background: #ffffff;
  color: #dc3545;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#resetButton:hover {
  background: #dc3545;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

#resetButton:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ================================
   Form Elements
================================ */

legend {
  color: #006666;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 8px;
}

label {
  display: block;
  width: 100%;
  margin-bottom: 6px;

  color: #343a40;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

/* ================================
   Inputs
================================ */

.dojoinput,
.dojoinput-width {
  width: 100%;
}

.inputContainer {
  width: 100%;
  padding-bottom: 16px;
}

/* ================================
   Standard HTML Inputs
================================ */

.dojoinput {
  width: 100%;
  min-height: 38px;

  padding: 7px 9px;

  border: 1px solid #ced4da;
  border-radius: 6px;

  background-color: #ffffff;

  color: #343a40;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dojoinput:focus {
  border-color: #006666;
  box-shadow: 0 0 0 2px rgba(0, 102, 102, 0.1);
}

/* .dijitDateTextBox {
  width: 100%;
  min-height: 38px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #ffffff;
}

.dijitDateTextBox .dijitInputField {
  padding: 0;
}

.dijitDateTextBox input {
  padding: 7px 9px;
  color: #343a40;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
} */

/* Standard input placeholder */
.dojoinput::placeholder,
textarea::placeholder {
  color: #aaaaaa;
  font-style: italic;
  opacity: 1;
}

/* ================================
   Dojo Inputs / FilteringSelect
================================ */

.dijitTextBox,
.dijitComboBox,
.dijitSelect,
.dijitTextArea {
  width: 100% !important;
  min-height: 38px;

  border-radius: 6px !important;
}

/* Actual text area inside Dojo widgets */
.dijitInputField {
  padding: 7px 9px !important;

  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* Dojo placeholder */
.dijitPlaceHolder {
  color: #aaaaaa !important;
  font-style: italic !important;
  font-size: 14px !important;
}

/* Dojo arrow */
.dijitArrowButton {
  width: 30px !important;
  border: none !important;
  padding: 1px;
}

/* ================================
   Dojo Focus
================================ */

.dijitTextBoxFocused,
.dijitComboBoxFocused,
.dijitSelectFocused {
  border-color: #006666 !important;
  box-shadow: 0 0 0 2px rgba(0, 102, 102, 0.1) !important;
}

/* Dojo input styling */

.dijitTextBox,
.dijitComboBox,
.dijitSelect,
.dijitTextArea {
  width: 100% !important;
  border-radius: 6px !important;
}

.dijitInputField {
  padding: 7px 9px !important;
}

.dijitArrowButton {
  width: 30px !important;
  border: none !important;
  padding: 1px;
}

/* ================================
   Radio Buttons
================================ */

input[type="radio"] {
  vertical-align: middle;
  margin-right: 5px;
}

/* ================================
   Validation
================================ */

input.invalid,
.dijitTextBox.invalid {
  background-color: #fff0f0 !important;
  /* border-color: #dc3545 !important; */
}

/* ================================
   Tabs / Buttons
================================ */

.btn-tab {
  width: 45%;
  min-height: 42px;

  margin-top: 10px;
  padding: 8px 16px;

  border: 1px solid #006666;
  border-radius: 6px;

  background-color: #006666;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-tab:hover {
  background-color: #ffffff !important;
  color: #006666 !important;
  border-color: #006666;
  transform: translateY(-1px);
}

/* Bootstrap outline buttons */

.btn-outline-primary,
.btn-outline-danger {
  width: 25% !important;
  min-height: 40px;

  border-radius: 6px !important;

  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-primary {
  color: #006666 !important;
  border-color: #006666 !important;
}

.btn-outline-primary:hover {
  background-color: #006666 !important;
  color: #ffffff !important;
}

.btn-outline-danger {
  color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.btn-outline-danger:hover {
  background-color: #dc3545 !important;
  color: #ffffff !important;
}

/* ================================
   Multi-step Form
================================ */

.tab {
  display: none;
}

/* Step indicators */

.step {
  display: inline-block;

  width: 11px;
  height: 11px;

  margin: 0 4px;

  background-color: #d1d8d8;
  border: none;
  border-radius: 50%;

  opacity: 0.7;

  transition: all 0.2s ease;
}

.step.active {
  background-color: #006666;
  opacity: 1;
  transform: scale(1.15);
}

.step.finish {
  background-color: #669999;
  opacity: 1;
}

/* ================================
   Responsive
================================ */

@media (max-width: 768px) {
  #main-content {
    width: calc(100% - 20px);
    margin: 10px auto;
    border-radius: 10px;
  }

  header {
    padding: 65px 20px 24px;
  }

  header h1 {
    font-size: 24px;
  }

  header p {
    font-size: 14px;
  }

  #resetButton {
    top: 16px;
    left: 16px;

    padding: 7px 12px;
    font-size: 12px;
  }

  .btn-tab {
    width: 100%;
    max-width: none;
  }

  .btn-outline-primary,
  .btn-outline-danger {
    width: 48% !important;
  }

  label,
  .dojoinput,
  .dojoinput-width {
    width: 100%;
    max-width: none;
  }

  .inputContainer {
    padding-bottom: 14px;
  }

  .step {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }
}

/* ================================
   Small Mobile Devices
================================ */

@media (max-width: 480px) {
  #main-content {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  header {
    padding: 60px 15px 20px;
  }

  header h1 {
    font-size: 22px;
  }

  header p {
    font-size: 13px;
  }

  #resetButton {
    top: 14px;
    left: 14px;
  }

  .btn-outline-primary,
  .btn-outline-danger {
    width: 100% !important;
    margin-bottom: 8px;
  }
}
