body{
  font-family: 'Roboto','Helvetica','san-sarif';
}

.tabsdemoDynamicHeight md-content {
  background-color: transparent !important; }
  .tabsdemoDynamicHeight md-content md-tabs {
    background: #f6f6f6;
    border: 1px solid #e1e1e1; }
    .tabsdemoDynamicHeight md-content md-tabs md-tabs-wrapper {
      background: white; }
  .tabsdemoDynamicHeight md-content h1:first-child {
    margin-top: 0; }


md-dialog.fullscreen-dialog {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.form-top {
  overflow: hidden;
  padding: 11px 25px 9px 24px;
  background: #4b5563; /* Gray default - was navy blue */
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  text-align: left;
  color: #fff;
  transition: opacity .3s ease-in-out;
}

.form-top:hover {
  background: #003d8f; /* Blue on hover */
}

.form-top h3 {
  color: #fff;
}

.form-bottom {
  padding: 25px 25px 30px 35px;
  background: rgb(255, 255, 255);
  -moz-border-radius: 1 0 4px 4px;
  -webkit-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
  text-align: left;
  transition: all .4s ease-in-out;
}
md-tabs.md-default-theme md-ink-bar, md-tabs md-ink-bar {
  color: #4b5563;
  background: #4b5563;
  height: 4px;
}
md-content {
  color: rgba(0,0,0,0.87);
  background-color: rgb(255, 255, 255);
}

.form-bottom:hover {
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.registration {
  font-size: 18px;
}

.reg {
  border: 1px solid #00a3e0;
}

.ng-invalid.ng-touched {
  background-color: rgba(255, 255, 255, .15);
}

.input.ng-valid.ng-touched {
  background-color: rgba(255, 255, 255, 0.15);
}


md-bottom-sheet {
  position: inherit;
  left: 0;
  height: 300%;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 129;
  border-top-width: 1px;
  border-top-style: solid;
  -webkit-transform: translate3d(0,80px,0);
  transform: translate3d(0,80px,0);
  -webkit-transition: all .4s cubic-bezier(.25,.8,.25,1);
  transition: all .4s cubic-bezier(.25,.8,.25,1);
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform,-webkit-transform;
}


.labradcard {
  background-color:#efefef;
  border: 1px solid black;
  height:30px;
  width: 240px;
  margin-bottom: 0px;
}

input[type="number"] {
  width:100px;
  text-align: center;
}
.bg-login {
  background: radial-gradient(circle at 10% 20%, rgba(30, 80, 150, 0.4) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(20, 150, 120, 0.2) 0%, transparent 40%),
              linear-gradient(135deg, #0f2038 0%, #080f1a 100%) !important;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  background-size: cover !important;
}

.login-wrapper{
  padding: 30px 35px 100px 35px;
  background-color:#ffffff;
  border-radius: 6px;
  border-top: 4px solid #4b5563;
  border-bottom:4px solid #6b7280;
  box-shadow: -1px 1px 8px rgba(0,0,0, 0.5);

}
.logo-container{
  display: block;
  margin: 1em 5em;
  align-content: center;
  text-align: center;
}

.dash-container{
  width: 80%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.search-container{
  width: 90%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
fieldset { 
  padding:0em;
}

legend {
  padding: 0.2em 0.5em;
  color:#4b5563;
  font-size:2em;
  text-align:center;
  border: none !important; 
  border-bottom:1px solid #9ca3af;
}
.dash-container .card{
  width: 180px;
  height: 200px;
  transition: all 0.5s ease-out;
}

.dash-container .card:hover, .dash-container .card:hover h2{
  color: #00a3e0;
  transform: scale(1.2);
  transition: all 0.5s ease-out;
}


.push-bottom{
  padding-top: 70px;
}
.push-up{
  padding-top: 30px;
}


ul.nav-wizard {
  background-color: #f1f1f1;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
ul.nav-wizard:before {
  position: absolute;
}
ul.nav-wizard:after {
  display: block;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 138px;
  height: 47px;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  z-index: 11;
  content: " ";
}
ul.nav-wizard li {
  position: relative;
  float: left;
  height: 46px;
  display: inline-block;
  text-align: center;
  padding: 0 20px 0 30px;
  margin: 0;
  font-size: 16px;
  line-height: 46px;
}
ul.nav-wizard li a {
  color: #00a3e0;
  padding: 0;
}
ul.nav-wizard li a:hover {
  background-color: transparent;
}
ul.nav-wizard li:before {
  position: absolute;
  display: block;
  border: 24px solid transparent;
  border-left: 16px solid #d4d4d4;
  border-right: 0;
  top: -1px;
  z-index: 11;
  content: '';
  right: -16px;
}
ul.nav-wizard li:after {
  position: absolute;
  display: block;
  border: 24px solid transparent;
  border-left: 16px solid #f1f1f1;
  border-right: 0;
  top: -1px;
  z-index: 11;
  content: '';
  right: -15px;
}
ul.nav-wizard li.active {
  color: #3a87ad;
  background: #dedede;
}
ul.nav-wizard li.active:after {
  border-left: 16px solid #dedede;
}
ul.nav-wizard li.active a,
ul.nav-wizard li.active a:active,
ul.nav-wizard li.active a:visited,
ul.nav-wizard li.active a:focus {
  color: #989898;
  background: #dedede;
}
ul.nav-wizard .active ~ li {
  color: #999999;
  background: #f9f9f9;
}
ul.nav-wizard .active ~ li:after {
  border-left: 16px solid #f9f9f9;
}
ul.nav-wizard .active ~ li a,
ul.nav-wizard .active ~ li a:active,
ul.nav-wizard .active ~ li a:visited,
ul.nav-wizard .active ~ li a:focus {
  color: #999999;
  background: #f9f9f9;
}
ul.nav-wizard.nav-wizard-backnav li:hover {
  color: #468847;
  background: #f6fbfd;
}
ul.nav-wizard.nav-wizard-backnav li:hover:after {
  border-left: 16px solid #f6fbfd;
}
ul.nav-wizard.nav-wizard-backnav li:hover a,
ul.nav-wizard.nav-wizard-backnav li:hover a:active,
ul.nav-wizard.nav-wizard-backnav li:hover a:visited,
ul.nav-wizard.nav-wizard-backnav li:hover a:focus {
  color: #468847;
  background: #f6fbfd;
}
ul.nav-wizard.nav-wizard-backnav .active ~ li {
  color: #999999;
  background: #ededed;
}
ul.nav-wizard.nav-wizard-backnav .active ~ li:after {
  border-left: 16px solid #ededed;
}
ul.nav-wizard.nav-wizard-backnav .active ~ li a,
ul.nav-wizard.nav-wizard-backnav .active ~ li a:active,
ul.nav-wizard.nav-wizard-backnav .active ~ li a:visited,
ul.nav-wizard.nav-wizard-backnav .active ~ li a:focus {
  color: #999999;
  background: #ededed;
}
/*Added*/


.input {
  position: relative;
  width: 100%;
  margin: 15px auto;
}
.input span {
  position: absolute;
  display: block;
  color: #d4d4d4;
  left: 10px;
  top: 8px;
  font-size: 20px;
}
.input input {
  width: 100%;
  padding: 10px 5px 10px 40px;
  display: block;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition: 0.2s ease-out;
  color: #a1a1a1;
}
.input input:focus {
  padding: 10px 5px 10px 10px;
  outline: 0;
  border-color:#4b5563;
}
/*3D BUTTON*/
.btn3d {
  position:relative;
  top: -6px;
  border:0;
  transition: all 40ms linear;
  margin-top:10px;
  margin-bottom:10px;
  margin-left:2px;
  margin-right:2px;
}
.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
  -moz-outline-style:none;
  outline:medium none;
}
.btn3d:active, .btn3d.active {
  top:2px;
}

.btn3d.btn-success {

  background-color:#00a3e0;
}
.btn3d.btn-success:active, .btn3d.btn-success.active {

  background-color: #008bc2;
}
.search-control{
  border-radius: 2px;
}
.card-header1{
  padding-bottom: 0px;
}
.tab-center{
  float: none;
  margin: 0 auto;
  display: table;
}
.proc{
  padding-left: 0;
}




/* lg */ 
@media (min-width: 1200px) {
  /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
    display: block;
    -webkit-animation: fadeInUp 400ms;
    animation: fadeInUp 400ms;
  }

  #portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
  }



}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {

  /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
    display: block;
    -webkit-animation: fadeInUp 400ms;
    animation: fadeInUp 400ms;
  }

  .navbar-nav > li {
    margin-left: 10px;
  }

  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }

  .recent-work-wrap .recent-work-inner h3 a {
    font-size: 20px;
  }

  .recent-work-wrap .overlay{
    padding: 15px;
  }

  .services-wrap {
    padding: 40px 10px 40px 30px;
  }

  .feature-wrap h2, 
  .single-services h2 {
    font-size: 18px;
  }

  .feature-wrap h3, 
  .single-services h3{
    font-size: 14px;
  }

  .tab-wrap .media .parrent.pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .parrent.media-body{
    clear: both;
  }

  #portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .recent-work-wrap .overlay .preview{
    line-height: inherit;
  }

  .team-bar .first-arrow {
    width: 21%;
  }

  .team-bar .second-arrow {
    width: 20%;
  }

  .team-bar .third-arrow {
    width: 21%;
  }

  .team-bar .fourth-arrow {
    width: 20%;
  }

  ul.social_icons li{
    margin-right: 0;
  }

}


/* sm */
@media (min-width: 768px) and (max-width: 991px) {
  /* Make Navigation Toggle on Desktop Hover */
  .dropdown:hover .dropdown-menu {
    display: block;
    -webkit-animation: fadeInUp 400ms;
    animation: fadeInUp 400ms;
  }

  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-nav > li {
    margin-left: 0;
  }

  #main-slider .carousel h1 {
    font-size: 25px;
  }

  #main-slider .carousel h2 {
    font-size: 20px;
  }

  .tab-wrap .media .parrent.pull-left, 
  .media.accordion-inner .pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .parrent.media-body, 
  .media.accordion-inner .media-body{
    clear: both;
  }

  .services-wrap {
    padding: 40px 0 40px 30px;
  }

  .recent-work-wrap .overlay{
    padding: 15px;
  }

  .recent-work-wrap .recent-work-inner h3 a {
    font-size: 20px;
  }

  .sinlge-skill{
    width: 150px;
    height: 150px;
  } 

  .sinlge-skill p em {
    font-size: 25px;
  }

  .sinlge-skill p {
    font-size: 16px;
  }

  .team-bar .first-one-arrow {
    width: 2%;
  }

  .team-bar .first-arrow {
    width: 18%;
  }

  .team-bar .second-arrow {
    width: 24%;
  }

  .team-bar .third-arrow {
    width: 15%;
  }

  .team-bar .fourth-arrow {
    width: 20%;
  }

  .blog .blog-item .entry-meta > span a{
    font-size: 10px;
  }
}

/* xs */
@media (max-width: 767px) {
  .container > .navbar-header, .container > .navbar-collapse{
    margin-left: 0;
  }

  .top-number{
    font-size: 14px;
  }

  input.search-form:hover {
    width: 120px;
  }

  .navbar-nav > li {
    padding-bottom: 0;
  }

  #main-slider .carousel h1 {
    font-size: 25px;
  }

  #main-slider .carousel h2 {
    font-size: 16px;
  }

  .feature-wrap h2, 
  .single-services h2 {
    font-size: 18px;
  }

  .feature-wrap h3, 
  .single-services h3{
    font-size: 14px;
  }


  .media.accordion-inner .pull-left, 
  .media.accordion-inner .media-body{
    clear: both;
  }

  .accordion-inner h4 {
    margin-top: 10px;
  }

  .tab-wrap .media .pull-left{
    clear: both;
    width: 100%;
  }

  .tab-wrap .media .media-body{
    clear: both;
  }

  .nav-tabs > li.active > a:after{
    display: none;
  }

  #footer .col-sm-6{
    text-align:center;
  }

  #footer .pull-right{
    float: none !important;
  }

  .sinlge-skill {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .team .single-profile-top, 
  .team .single-profile-bottom {
    margin-bottom: 30px;
  }

  .clients-area {
    padding: 60px 0;
  }

  .clients-area h1 {
    font-size: 25px;
  }
  .is {
    padding-right: 0px;
  }
  .sel {
    padding-right: 14px;
  }

  .portfolio-item, 
  #recent-works .col-xs-12.col-sm-4.col-md-3{
    padding:0 15px;
  }

  ul.social_icons li{
    margin-right: 0;
  }

  .blog .blog-item .entry-meta{
    margin-bottom: 20px;
  }

  .blog .blog-item .blog-content h3 {
    margin-bottom: 20px;
  }

  .post_reply_comments {
    padding-left: 20px;
  }


}

/* XS Portrait */
@media (max-width: 480px) {


}
* {
  box-sizing: border-box;
}

input,
button,
textarea {
  font-family: "Cabin", sans-serif;
}

body {
  /* min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: "Cabin", sans-serif;*/
}

.wrapper {
  /*  width: 100%;
  max-width: 960px;
  margin: auto;*/
}
.wrapper form .form-section {
  width: 100%;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.35);
  display: none;
}
.wrapper form .form-section:first-child {
  display: block;
}
.wrapper form .form-section header {
  padding: 10px 10px;
  background: white;
  color: white;
}
.wrapper form .form-section header p {
  font-weight: bold;
}
.wrapper form .form-section .inputs {
  padding: 40px;
}
.wrapper form .form-section .inputs.center {
  margin: 0 auto;
  text-align: center;
}
.wrapper form .form-section .inputs.center .field, .wrapper form .form-section .inputs.center button.next {
  margin: 0 auto;
}
.wrapper form .form-section .inputs button.next,
.wrapper form .form-section .inputs button.prev,
.wrapper form .form-section .inputs button.fin {
  padding: 20px 60px;
  border: none;
  outline: none;
  color: white;
  background: #4b5563; /* Gray default */
  transition: 0.15s ease-in-out;
}
.wrapper form .form-section .inputs button.next:hover,
.wrapper form .form-section .inputs button.prev:hover,
.wrapper form .form-section .inputs button.fin:hover {
  background: #003d8f; /* Blue on hover */
}
.wrapper form .form-section .inputs button.next:disabled,
.wrapper form .form-section .inputs button.prev:disabled,
.wrapper form .form-section .inputs button.fin:disabled {
  background: #aaa;
}
.wrapper form .form-section .inputs button.next:disabled:hover,
.wrapper form .form-section .inputs button.prev:disabled:hover,
.wrapper form .form-section .inputs button.fin:disabled:hover {
  background: #999;
}
.wrapper form .form-section .inputs button.next:hover,
.wrapper form .form-section .inputs button.prev:hover,
.wrapper form .form-section .inputs button.fin:hover {
  background: #002b66;
}
.wrapper form .form-section .inputs .field label.avatarUpload {
  color: #df405a;
  font-size: 50px;
  margin: 0px 0px 20px 0px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid #df405a;
  text-align: center;
  line-height: 250px;
  transition: 0.15s ease-in-out;
}
.wrapper form .form-section .inputs .field label.avatarUpload.center {
  margin: 0px auto 20px auto;
}
.wrapper form .form-section .inputs .field label.avatarUpload:hover {
  color: white;
  background: #df405a;
}
.wrapper form .form-section .inputs .field label.avatarUpload.active {
  background: #77EB63;
  color: white;
  border: 1px solid #77EB63;
}
.wrapper form .form-section .inputs .field input, .wrapper form .form-section .inputs .field label,
.wrapper form .form-section .inputs .field textarea {
  display: block;
  margin: 10px 0;
  width: 100%;
}
.wrapper form .form-section .inputs .field input[type='text'],
.wrapper form .form-section .inputs .field input[type='email'],
.wrapper form .form-section .inputs .field input[type='password'],
.wrapper form .form-section .inputs .field textarea {
  padding: 10px 5px;
  border: none;
  border-bottom: 1px solid #d1d5db;
  outline: 0;
  transition: 0.15s ease-in-out;
}
.wrapper form .form-section .inputs .field input[type='text']:focus,
.wrapper form .form-section .inputs .field input[type='email']:focus,
.wrapper form .form-section .inputs .field input[type='password']:focus,
.wrapper form .form-section .inputs .field textarea:focus {
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.35);
}
.wrapper form .form-section .inputs .field textarea {
  width: 100%;
  max-width: 100%;
  min-heighT: 100px;
}

.unstyled {
  margin: 0;
  list-style: none;
}
.unstyled a, .unstyled #test {
  width: 150px;
  text-decoration: none;
  padding: .5em 1em;
  background-color: #555;
  border-bottom: 2px solid #333;
  display: block;
  margin-bottom: .5em;
}
.unstyled a:hover, .unstyled #test:hover {
  background-color: #777;
  border-color: #777;
}

.cf, .alert {
  *zoom: 1;
}
.cf:before, .alert:before, .cf:after, .alert:after {
  display: table;
  content: "";
  line-height: 0;
}
.cf:after, .alert:after {
  clear: both;
}

#alerts {
  width: 400px;
  top: 12px;
  right: 50px;
  position: fixed;
  z-index: 9999;
  list-style: none;
}

.alert {
  width: 100%;
  margin-bottom: 8px;
  display: block;
  position: relative;
  border-left: 4px solid;
  right: -50px;
  opacity: 0;
  line-height: 1;
  padding: 0;
  transition: right 400ms, opacity 400ms, line-height 300ms 100ms, padding 300ms 100ms;
  display: table;
}

.alert:hover {
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
/*
.open {
  right: 0;
  opacity: 1;
  line-height: 2;
  padding: 10px 15px;
  transition: line-height 200ms, padding 200ms, right 350ms 200ms, opacity 350ms 200ms;
}
*/

.alert-title {
  font-weight: bold;
}

.alert-block {
  width: 80%;
  width: -webkit-calc(100% - 60px);
  width: calc(100% - 60px);
  text-align: left;
}
.alert-block em, .alert-block small {
  font-size: .75em;
  opacity: .75;
}

.alert i {
  font-size: 2em;
  width: 1.5em;
  max-height: 48px;
  top: 50%;
  margin-top: -12px;
  display: table-cell;
  vertical-align: middle;
}

.alert-success {
  color: #fff;
  border-color: #539753;
  background-color: #8fbf2f;
}

.alert-error {
  color: #fff;
  border-color: #7f0709;
  background-color: #bf074b;
}

.alert-info {
  color: #fff;
  border-color: #076d91;
  background-color: #3397db;
}

.alert-warning {
  color: #fff;
  border-color: #dd6137;
  background-color: #f7931d;
}

.rad-menu-badge {
  position: absolute;
  min-width: 20px;
  min-height: 20px;
  line-height: 20px;
  font-weight: bold;
  color: white;
  border-radius: 100%;
  font-size: 12px;
  background: #E94B3B;
  box-shadow: 0.5px 0.2px 1px rgba(0, 0, 0, 0.5);
  display: inline-block;
  text-align: center;
  top: -10px;
  z-index: 1;
}

.login-form-container {
  overflow: hidden;
  width: 100%;
}

form.login-form {
  width: 480px;
  margin: 4em auto;
  padding: 3em 2em 2em 2em;
  background: #fafafa;
}
form.login-form button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  margin: .3em 0 1em 0;
  width: 100%;
  vertical-align: middle;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  letter-spacing: 1px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

form.login-form input:focus .highlight {
  animation: inputHighlighter 0.3s ease;
}

form.login-form md-input-container .md-input{
  height: 45px;
}

md-content.md-default-theme {
  background-color: #eee;
}

md-card {
  background-color: #fff;
}
md-card h2:first-of-type {
  margin-top: 0;
}

md-toolbar .md-button.md-default-theme {
  border-radius: 99%;
}

h2 {
  font-weight: 400;
}

.md-toolbar-tools-bottom {
  font-size: small;
}
/*.md-toolbar-tools-bottom :last-child {
  opacity: 0.8;
}*/

md-toolbar:not(.md-hue-1),
.md-fab {
  fill: #fff;
}

md-sidenav {
  fill: #737373;
}
md-sidenav ng-md-icon {
  position: relative;
  top: 5px;
}

.user-avatar {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    padding: 0.1em;
    margin: 0.3em;
    border: 1.45px solid #ccc;
}


a.user-email {
  text-decoration: none;
  color: #fff;
}

HTMLJSCSS
.autocomplete-custom-template li {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
}
.autocomplete-custom-template li:last-child {
  border-bottom-width: 0;
}
.autocomplete-custom-template .item-title,
.autocomplete-custom-template .item-metadata {
  display: block;
  line-height: 2;
}
.autocomplete-custom-template .item-title md-icon {
  height: 18px;
  width: 18px;
}

.element::placeholder { /* Chrome/Opera/Safari */
  font-style:bold;
  color:gray;
  font-size:14px;
}
/* ==========================================================================
   GLOBAL UI OVERHAUL - IONOS-INSPIRED PROFESSIONAL WEBHOSTING THEME
   Crisp Whites, Deep Blues, Clean Typography
   ========================================================================== */

/* Typography & Base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body, html {
    background-color: #f5f6f7 !important; /* Clean light gray */
    color: #1f2937; /* Dark slate */
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #111827;
    font-weight: 600 !important;
}

/* Material Toolbars (Headers) */
md-toolbar, .md-toolbar-tools {
    background: #4b5563 !important; /* Gray default - hover changes to blue */
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.2s ease !important;
}

md-toolbar:hover, .md-toolbar-tools:hover {
    background: #003d8f !important; /* Blue on hover */
}

md-toolbar * {
    color: #ffffff !important;
}

md-toolbar h1, md-toolbar h2, md-toolbar h3, md-toolbar span, md-toolbar .md-title {
    color: #ffffff !important;
}

/* Cards & Widgets */
md-card, .card, .panel {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
    overflow: hidden !important;
}

md-card:hover, .card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.panel-heading, .card-header, md-card-title {
    background-color: transparent !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 16px 20px !important;
    color: #4b5563 !important; /* Gray default for headers */
    font-weight: 600 !important;
}

/* Buttons */
.btn, button, md-button.md-primary, md-button.md-raised {
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.btn-primary, .btn-info, md-button.md-primary.md-raised {
    background: #4b5563 !important; /* Gray default */
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-primary:hover, .btn-info:hover, md-button.md-primary.md-raised:hover {
    background: #003d8f !important; /* Blue on hover */
}

.btn-success, md-button.md-accent.md-raised {
    background: #00a3e0 !important; /* Premium Cyan */
    color: #ffffff !important;
}

.btn-success:hover, md-button.md-accent.md-raised:hover {
    background: #008bc2 !important;
}

/* Inputs & Forms */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea, .form-control {
    border-radius: 4px !important;
    border: 1px solid #d1d5db !important;
    padding: 10px 12px !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-shadow: none !important;
}

input:focus, select:focus, textarea:focus, .form-control:focus {
    border-color: #4b5563 !important;
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.15) !important;
    outline: none !important;
}

md-input-container .md-input {
    border-bottom: 1px solid #d1d5db !important;
}

md-input-container.md-input-focused .md-input {
    border-bottom: 2px solid #4b5563 !important;
}

md-input-container.md-input-focused label {
    color: #4b5563 !important;
}

/* Tables */
table, .table {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e5e7eb !important;
}

table th, .table th {
    background-color: #f9fafb !important;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-top: none !important;
}

table td, .table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    color: #1f2937 !important;
    vertical-align: middle !important;
}

table tr:hover td {
    background-color: #f9fafb !important;
}

/* Tabs */
md-tabs-wrapper {
    background-color: #ffffff !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: inset 0 -1px 0 #e5e7eb !important;
}

md-tab-item {
    color: #6b7280 !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-size: 15px !important;
}

md-tab-item.md-active {
    color: #4b5563 !important;
    font-weight: 600 !important;
}

md-ink-bar {
    background-color: #4b5563 !important;
    height: 3px !important;
}

/* Side Navigation / Menu */
md-sidenav {
    background-color: #ffffff !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05) !important;
    border-right: 1px solid #e5e7eb !important;
}

md-list-item {
    transition: background-color 0.2s ease !important;
    margin: 2px 8px !important;
    border-radius: 4px !important;
}

md-list-item:hover {
    background-color: #f3f4f6 !important;
}

md-list-item .md-list-item-inner {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* Text overrides for headers and dark backgrounds */
.md-title, .md-subhead {
    color: inherit;
}

/* ================================================================
   GLOBAL OVERRIDE: Force ALL inline #003d8f blue backgrounds to gray.
   This catches hundreds of inline style="background-color: #003d8f" 
   elements across all HTML templates system-wide.
   ================================================================ */

/* Override inline blue backgrounds to gray */
*[style*="background-color: #003d8f"],
*[style*="background-color:#003d8f"],
*[style*="background: #003d8f"],
*[style*="background:#003d8f"],
*[style*="background-color: rgb(0, 61, 143)"],
*[style*="background-color:rgb(0,61,143)"] {
    background-color: #4b5563 !important;
    background: #4b5563 !important;
    color: #ffffff !important;
}

/* Also ensure all child text inside those containers is white */
*[style*="background-color: #003d8f"] *,
*[style*="background-color:#003d8f"] *,
*[style*="background: #003d8f"] *,
*[style*="background:#003d8f"] *,
*[style*="background-color: rgb(0, 61, 143)"] *,
*[style*="background-color:rgb(0,61,143)"] * {
    color: #ffffff !important;
}

/* Module tiles on dashboard */
.module-tile {
    background-color: #4b5563 !important;
    color: #ffffff !important;
}
.module-tile * {
    color: #ffffff !important;
}
.module-tile:hover {
    background-color: #003d8f !important;
}

/* Body background override - remove blue */
body {
    background-color: #f5f6f7 !important;
}

/* Button default states - gray, NOT blue */
button.btn,
.btn,
.btn-link-1 {
    background-color: #4b5563 !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease !important;
}

button.btn:focus,
button.btn:active:focus,
button.btn.active:focus {
    background: #374151 !important;
    color: #fff !important;
}

button.btn:hover,
.btn:hover,
.btn-link-1:hover {
    background-color: #003d8f !important;
    color: #ffffff !important;
}

/* Ensure all button text is white across all states, variations, and children */
button,
.btn,
.btn-primary,
.btn-success,
.btn-danger,
.btn-info,
.btn-warning,
.btn-default,
.btn-link-1,
md-button,
.md-button,
.button,
button.btn,
*[class*="btn"] {
    color: #ffffff !important;
}

button *,
.btn *,
.btn-primary *,
.btn-success *,
.btn-danger *,
.btn-info *,
.btn-warning *,
.btn-default *,
.btn-link-1 *,
md-button *,
.md-button *,
.button *,
button.btn *,
*[class*="btn"] * {
    color: #ffffff !important;
}

button:hover,
button:focus,
button:active,
.btn:hover,
.btn:focus,
.btn:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-link-1:hover,
.btn-link-1:focus,
.btn-link-1:active,
md-button:hover,
md-button:focus,
md-button:active,
.md-button:hover,
.md-button:focus,
.md-button:active,
.button:hover,
.button:focus,
.button:active,
button.btn:hover,
button.btn:focus,
button.btn:active,
*[class*="btn"]:hover,
*[class*="btn"]:focus,
*[class*="btn"]:active {
    color: #ffffff !important;
}

/* Preserve specific button variant colors */
.btn-success,
.btn-success:not(:hover) {
    background-color: #00a3e0 !important;
}
.btn-success:hover {
    background-color: #008bc2 !important;
}

.btn-danger,
.btn-danger:not(:hover) {
    background-color: #ef4444 !important;
}
.btn-danger:hover {
    background-color: #dc2626 !important;
}

.btn-warning,
.btn-warning:not(:hover) {
    background-color: #f59e0b !important;
}
.btn-warning:hover {
    background-color: #d97706 !important;
}

.btn-default,
.btn-default:not(:hover) {
    background-color: #9ca3af !important;
    color: #ffffff !important;
}
.btn-default:hover {
    background-color: #6b7280 !important;
}

/* Override data-background-color attributes to gray */
*[data-background-color="#003d8f"],
*[data-background-color="#003d8f"] * {
    background-color: #4b5563 !important;
    color: #ffffff !important;
}

/* Text selection - gray instead of blue */
::selection {
    background: #4b5563 !important;
    color: #fff !important;
}
::-moz-selection {
    background: #4b5563 !important;
    color: #fff !important;
}

/* Panel accordion headers used across lab, pharmacy, etc. */
.panel-danger > .panel-heading {
    background-color: #4b5563 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}
.panel-danger {
    border-color: #4b5563 !important;
}

/* md-list-item with inline blue backgrounds */
md-list-item[style*="background-color: #003d8f"],
md-list-item[style*="background-color:#003d8f"] {
    background-color: #4b5563 !important;
}

/* Modal headers with inline blue */
.modal-header[style*="background-color: #003d8f"] {
    background-color: #4b5563 !important;
}

/* md-grid-tile with inline blue backgrounds (reports/mtuha) */
md-grid-tile[style*="background-color: #003d8f"] {
    background-color: #4b5563 !important;
}
md-grid-tile[style*="background-color: #003d8f"]:hover {
    background-color: #003d8f !important;
}

/* Vertical tabs sidebar items */
md-list-item[style*="background-color: #003d8f"]:hover {
    background-color: #003d8f !important;
}

/* Force white text on vertical tabs and color widgets (Collect Sample, Complaints, etc.) */
md-list-item[style*="background-color: #003d8f"],
md-list-item[style*="background-color: #003d8f"] *,
md-list-item[style*="background-color:#003d8f"],
md-list-item[style*="background-color:#003d8f"] *,
md-list-item[style*="background"] *,
md-list-item[style*="background"],
.selectedvertical,
.selectedvertical *,
.notselected,
.notselected * {
    color: #ffffff !important;
}

/* Force white text on md-grid-tile widgets (Dashboard buttons/widgets) */
md-grid-tile[style*="background-color: #003d8f"],
md-grid-tile[style*="background-color: #003d8f"] *,
md-grid-tile[style*="background-color:#003d8f"],
md-grid-tile[style*="background-color:#003d8f"] * {
    color: #ffffff !important;
}

/* Also ensure any other panel or generic widget card that is dark has white text */
.info-box,
.info-box *,
.small-box,
.small-box *,
.card,
.card-header,
.card-body {
    color: #ffffff !important;
}
.card.bg-white, .card.bg-white * {
    color: #000000 !important;
}
