@font-face {
    font-family: 'PWSignature';
    src: url('../fonts/pwsignature/PWSignature.ttf');
}

.signature-input {
  font-family: 'PWSignature', serif !important;
}

.notification {
  background-color: red;
  color: white;
  font-family: Arial, sans-serif;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}

select {
  -webkit-appearance: none;
	background-color: #212121 !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #F15C22 50%),
    linear-gradient(135deg, #F15C22 50%, transparent 50%),
    linear-gradient(to right, #F15C22, #F15C22);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  border-color: #F15C22;
}

select:focus {
  background-image:
    linear-gradient(45deg, #F15C22 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #F15C22 50%),
    linear-gradient(to right, #F15C22, #F15C22);
  background-position:
    calc(100% - 15px) 1em,
    calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  border-color: #F15C22;
  outline: 0;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

  main {
    flex: 1 0 auto;
  }
  
  /* label color 
   .input-field label {
     color: #333 !important;
   }
   */

   input:focus {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: none !important;
   }

   /* label focus color */
   .input-field input[type=text]:focus + label {
     color: #F15C22 !important;
   }

   /* label focus color */
   .input-field input[type=password]:focus + label {
     color: #F15C22 !important;
   }
   
   /* label focus color */
   .input-field input[type=email]:focus + label {
     color: #F15C22 !important;
   }

    /* label underline focus color */
   .input-field input[type=password]:focus {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
   /* label underline focus color */
   .input-field input[type=text]:focus {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
    /* label underline focus color */
   .input-field input[type=email]:focus {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
    /* label underline focus color */
   .input-field input[type=number]:focus {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
 
   /* valid color */
   .input-field input[type=text].valid {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }

   /* valid color */
   .input-field input[type=password].valid {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
   /* valid color */
   .input-field input[type=email].valid {
     border-bottom: 1px solid #F15C22 !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   
   /* invalid color */
   .input-field input[type=email].invalid {
     border-bottom: 1px solid red !important;
     box-shadow: 0 1px 0 0 #333 !important;
   }
   /* icon prefix focus color */
   .input-field .prefix.active {
     color: #F15C22 !important;
   }

   .modal {
     border: 1px solid #F15C22;
   }

   .ui-datepicker-year, .ui-datepicker-month {
     display: inline !important;
     background-color: black;
     color: #F15C22;
   }

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: #fe800e !important;
}
   /* tool tips */

   .tooltip {
     display: none;
     padding: 2px 2px 2px 2px;
     border: 1px solid black;
     background-color: #333;
     color: #F15C22;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 12px;
     line-height: 12px;
   }

   .tooltip-parent:hover .tooltip {
     display: block;
   }


   .loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #fe800e;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}


/* ==========================================================================
   2026 DPA brand — portal-wide rules.
   These live here rather than inside DPA/index.php because the login screen is
   a separate file at the site root that loads this stylesheet but not the app
   shell. Keeping them here means the app and the login page stay in step.
   ========================================================================== */

.orange-text.text-accent-3 { color: #F15C22 !important; }
.orange.accent-3 { background-color: #F15C22 !important; }

/* Button and select borders are set in materialize.css rather than by an accent
   class, so they are restated here. */
.btn-flat, .btn-flat:focus, .btn-flat:active { border-color: #F15C22 !important; }
select, select:focus { border-color: #F15C22 !important; }

/* Scrollbars are furniture, not brand. Matched to the divider grey so they
   recede into the dark theme instead of cutting a white stripe through it. */
* { scrollbar-width: thin; scrollbar-color: #3d3d3d transparent; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: #3d3d3d; border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: #4d4d4d; }
::-webkit-scrollbar-corner { background: transparent; }

/* Browser autofill paints credential fields with its own pale block, which looks
   wrong on a dark form and hides the value behind the label. There is no way to
   set the background directly, so an inset shadow covers it. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #1c1c1c inset !important;
  box-shadow: 0 0 0 1000px #1c1c1c inset !important;
  -webkit-text-fill-color: #F15C22 !important;
  caret-color: #F15C22;
  transition: background-color 5000s ease-in-out 0s;
}

/* An autofilled field never fires the events Materialize listens for, so its
   label stays put and sits on top of the value. Float it as Materialize would. */
.input-field input:-webkit-autofill + label {
  font-size: 0.8rem;
  -webkit-transform: translateY(-140%);
  transform: translateY(-140%);
}
