@import url("./fonts/Inter/Inter.css");
:root {
  --primary-color: #0080b4;
  --secondary-color: #fdcd39;
  --white-color: #fff;
  --navbar-background: var(--primary-color);
  --navbar-menu-item-hover: #0577a6;
  --line: var(--secondary-color);
  --footer-background: var(--primary-color);
  --hyperlinks-color: var(--primary-color);
  --font-color: var(--primary-color);
  --background-color: var(--white-color);
  --primaryPanelHeader-background: #edf0f6;
  --button-primary-background-color: var(--primary-color);
  --button-primary-color-background--hover: #0373a1;
  --button-primary-color: var(--white-color);
  --button-primary-border: #0e91c7;
  --button-pdding: 5px 15px;
  --button-border: var(--secondary-color);
  --button-color: var(--primary-color);
  --button-color-hover: #0373a1;
  --button-font-weight: 500;
  --button-font-size: 15px;
  --button-radius: 20px;
  --button-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  --button-shadow-hover: 1px 4px 4px rgba(0, 0, 0, 0.3);
  --button-background-color: var(--secondary-color);
  --hyperlinks-color-hover: #024662;
  --side-bar-filter-background: #eeeff594;
  --side-bar-filter-item: #eeeff5;
  --menu-footer-shift-to-right: auto;
  --max-width-large: 1350px;
  --max-width-medium: 1080px;
  --max-width-small: 880px;
  --max-width-tiny: 680px;
  --mobile-width: 900px;
  --content-container-panel-max-width: 1350px;
  --side-filter-panel-width: 230px;
  --font-awsome-color: #0373a1;
}
body {
  width: 100%;
  height: 100%;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.popover-title,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", "Open Sans", "Helvetica Neue", Helvetica, Arial,
    sans-serif !important;
}

.btn {
  transition: all 0.15s ease-out;
  border: 1px solid var(--button-border);
  background-color: var(--button-background-color);
  border-radius: var(--button-radius);
  box-shadow: var(--button-shadow);
  color: var(--hyperlinks-color);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  margin: 0 3px 0 3px;
  padding: var(--button-pdding);
  width: 115px;
  height: 35px;
}

.login-cancel-panel-buttons {
  justify-content: center;
  position: relative;
  padding-bottom: 30px;
  display: flex;
}

.guest-login-panel {
  margin: 0 !important;
  display: none !important;
}

.continue-guest-link {
  display: block;
  text-align: center;
  font-weight: 400;
}

.continue-guest-link:hover {
  text-decoration: underline;
}

.content-background-picture {
  background-image: url(../images/medplace/background.png);
  position: absolute;
  width: 100%;
  background-repeat: no-repeat !important;
  text-align: center;
  font-weight: bold;
  font-size: 44px;
  color: whitesmoke;
  background-size: cover !important;
  background-position: right center !important;
  height: 100%;
  min-height: 630px;
  object-fit: cover;
  z-index: -1;
}

.main-container {
  width: 100%;
  height: calc(100% - 125px);
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-around;
  overflow-y: auto;
}

.login-panel {
  height: auto;
  width: 357px;
  background-color: #cccfd563;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  border-radius: 20px;
  padding: 16px;
}

.remember-container {
  text-align: left;
}

.remember-me-check-box {
  padding-top: 0 !important;
}

.link-container {
  margin-top: 20px;
  display: flex;
  align-self: center;
  justify-content: space-between;
  font-size: 14px;
}

.link-container a {
  color: #636664;
}

.content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 420px;
  width: 100%;
  height: calc(100% - 100px);
}

.modal-title {
  font-weight: 400;
  margin: 0;
  line-height: 1.42857143;
}

.block-header {
  text-align: left;
  width: 100%;
  padding: 0 0px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-content {
  padding: 0;
  width: calc(100% - 60px);
}
.login-form-margin-60-t {
  height: 20px;
}
input[type="text"].form-control,
input[type="password"].form-control {
  background-color: var(--white-color) !important;
  border-radius: 16px;
  box-shadow: none !important;
  padding: 6px 12px;
}
.mandatory-label {
  padding-left: 10px;
}
.form-horizontal .control-label {
  padding: 0;
}
.footer-panel {
  position: relative;
  min-width: 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  font-weight: 100;
  color: var(--primary-color);
}

footer {
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: #d6d6d6;
  color: #444;
  z-index: 1;
  height: 40px;
}

.content-boxed {
  margin: 3px auto;
  width: calc(100% - 90px);
  max-width: 1350px !important;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .content-boxed {
    max-width: 1080px !important;
  }
}
@media (min-width: 851px) and (max-width: 1199px) {
  .content-boxed {
    max-width: calc(100% - 40px);
  }
}

.navbar-default {
  background-color: var(--primary-color);
  height: 80px;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 0 0 1px;
  top: 0;
}
.navbar-inverse {
  background-color: var(--primary-color) !important;
  height: 79px;
}

.header-logo {
  background-image: url(../images/medplace/logo.svg);
  width: 273px;
  height: 40px;
  background-size: cover;
}
.react-demo-logo {
  padding: 0;
  height: auto;
}
.footer-container {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  height: 101px;
  border-top: 1px solid var(--line);
}
.footer-body-container {
  position: relative;
  background-color: #e2e6ed;
  height: calc(100%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-body-panel {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

.footer-panel-header {
  font-weight: 600;
  color: var(--primary-color) !important;
}
.footer-panel-header:hover {
  color: var(--primary-color) !important;
}
.footer-panel-header a {
  text-decoration: none;
  color: var(--primary-color) !important;
  text-transform: uppercase;
}
.footer-logo {
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center !important;
  height: 100px;
  width: 273px;
  background-image: url(../images/medplace/footer/logo-medplace-colorful.svg);
}

.logo-user {
  background-image: url(../images/medplace/login/user-icon.svg);
  width: 80px;
  height: 80px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: right center !important;
}
footer {
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  justify-content: space-between;
}
@media (max-width: 849px) {
  .react-demo-logo {
    margin-top: 0 !important;
    padding: 12px !important;
  }
}

@media (max-height: 600px) {
  nav {
    height: 60px;
  }
  main {
    height: calc(100vh - 93px);
  }
}

@media (min-width: 768px) and (max-width: 970px) {
  .content-boxed {
    width: calc(100% - 24px);
  }

  .footer-container {
    height: auto;
    min-height: 126px;
  }

  .footer-body-container {
    height: auto;
    padding: 10px 0;
  }

  .footer-body-panel {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    align-items: flex-start;
  }

  .footer-logo {
    width: 200px;
    height: 56px;
  }

  .footer-panel {
    min-width: 86px;
    align-items: center;
    text-align: center;
  }

  .footer-panel-body {
    align-items: center;
  }

  .footer-panel-body a {
    font-size: 12px;
    line-height: 1.25;
  }

  .footer-panel-body.social {
    width: 115px;
  }

  a.social {
    width: 30px;
    height: 30px;
  }
}

.footer-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.footer-panel-body a {
  color: #40a9ff;
  font-size: 15px;
}

.footer-panel-body.social {
  height: auto;
  width: 140px;
  display: flex;
  flex-direction: row;
  margin-top: 7px;
  justify-content: space-between; /* To ensure equal spacing between the icons */
}

a.social {
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 40px; /* Adjust the size of the icon */
  height: 40px; /* Adjust the size of the icon */
  display: inline-block; /* Make sure the links are treated as blocks */
}

.social.facebook {
  background-image: url(../images/medplace/footer/facebook.svg);
}

.social.twitter {
  background-image: url(../images/medplace/footer/X.svg);
}

.social.linkedin {
  background-image: url(../images/medplace/footer/linkedin.svg);
}

/* Optionally, add a hover effect */
.social.facebook:hover,
.social.twitter:hover,
.social.linkedin:hover {
  opacity: 0.7; /* Add a hover effect to the icons */
}

form.form-horizontal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}
.form-material {
  margin: 0 !important;
}

.password-toggle-icon {
  display: none;
}

.mobile-welcome-text,
.register-button {
  display: none;
}

.mobile-header-logo {
  display: none;
}

/* Mobile Specific Styles */
@media (max-width: 767px) {
  body {
    overflow-y: auto;
    background: #3f95c8;
  }
  .content-background-picture {
    background-size: cover !important;
  }

  .mandatory-label {
    padding-left: 14px;
  }

  .navbar-default {
    display: none;
  }

  .content-background-picture {
    display: none;
  }

  .main-container {
    height: auto;
    min-height: 100vh;
    padding-top: 60px;
    justify-content: flex-start;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-welcome-text {
    display: block;
    text-align: center;
    color: var(--white-color);
    margin: 0 auto 30px;
    width: 100%;
    max-width: 320px;
  }

  .mobile-header-logo {
    display: block;
    width: min(220px, 62vw);
    height: 34px;
    margin: -30px auto 20px;
    background-image: url(../images/medplace/logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 10px;
  }

  .mobile-welcome-text h1 {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 6px;
    line-height: normal;
  }

  .mobile-welcome-text p {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
  }

  .content-container {
    height: auto;
    min-height: unset;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .login-panel {
    background-color: transparent;
    width: 100%;
    max-width: 500px;
    padding: 0;
  }

  .block-header {
    margin-bottom: 30px;
    padding: 0;
  }

  .logo-user {
    width: 120px;
    height: 120px;
    background: linear-gradient(
      180deg,
      rgba(0, 128, 180, 0) 68.75%,
      rgba(0, 128, 180, 0.08) 100%
    );
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background-image: url(../images/medplace/login/user-icon-white.svg) !important;
    background-position: center !important;
    background-size: 64px !important;
    border-radius: 50%;
    margin: 0 auto;
  }

  .block-content {
    width: 100%;
    height: auto;
  }

  .link-container {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
  }

  .login-form-margin-60-t {
    display: none;
  }

  input[type="text"].form-control,
  input[type="password"].form-control {
    height: 48px;
    border-radius: 8px;
    background: #f3f3f3 !important;
    font-size: 16px;
    padding: 12px 14px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15) inset !important;
    color: #666;
  }

  .form-material > label {
    top: 15px;
  }

  .form-material.floating {
    position: relative;
  }

  #control_password.form-control {
    padding-right: 46px;
  }

  .form-material.floating.open > label,
  .form-material.floating > .form-control:focus ~ label {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }

  .form-material.floating.open > label .mandatory-label,
  .form-material.floating > .form-control:focus ~ label .mandatory-label {
    color: inherit !important;
  }

  .form-material.floating.open > label .text-danger,
  .form-material.floating > .form-control:focus ~ label .text-danger {
    color: #ffd166 !important;
  }

  .password-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
  }

  .login-cancel-panel-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 0;
  }

  .btn {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    border: none !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25) !important;
  }

  .login-button {
    background-color: #3498db !important;
    color: #fdcd39 !important;
  }

  .register-button {
    background-color: #fdcd39 !important;
    color: #3498db !important;
    display: block !important;
    order: 2;
  }

  .link-container a {
    color: var(--white-color);
  }

  .guest-login-panel {
    display: block !important;
  }

  /* Footer Accordion Style */
  .footer-container {
    display: block;
    height: auto;
    border-top: none;
    background-color: #e5e7eb;
    margin-top: 40px;
  }

  .footer-body-container {
    background-color: transparent;
    padding: 0;
  }

  .footer-body-panel {
    position: static;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
  }

  .footer-panel {
    width: 100%;
    border-bottom: 1px solid #d1d5db;
    padding: 18px 20px;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s;
    align-items: flex-start;
  }

  .footer-panel:active {
    background-color: #d1d5db;
  }

  .footer-panel::after {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    content: "+";
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1;
  }
  .footer-panel[data-expanded="true"]::after {
    content: "-";
  }
  .footer-panel[data-expanded="true"] .footer-panel-body,
  .footer-panel[data-expanded="true"] .footer-panel-body.social {
    height: auto;
    display: flex;
  }
  .footer-panel-body.social {
    margin: auto;
  }

  .footer-panel-body {
    align-items: start;
    gap: 12px;
    padding-top: 10px;
  }
  .footer-panel-body a {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 20px;
  }

  .footer-logo,
  .footer-panel-body,
  .footer-panel-body.social {
    height: 0;
    overflow: hidden;
    display: none;
  }

  .footer-panel:last-child {
    border-bottom: none;
  }

  .footer-panel-header {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
  }

  .footer-panel-header a {
    color: #3498db !important;
  }

  /* Final Footer */
  footer#page-footer {
    position: static;
    background-color: var(--primary-color);
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  footer#page-footer .content-boxed {
    width: 100%;
    justify-content: center;
    margin: 0;
    color: var(--white-color);
    font-weight: 400;
    font-size: 13px;
    text-align: center;
  }

  /* Error/Success Messages */
  .alert-small {
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 767px) and (max-height: 600px) {
  .mobile-header-logo {
    width: min(170px, 52vw);
    height: 26px;
    margin: -30px auto 20px;
  }
}

@media (max-width: 380px) {
  .mobile-header-logo {
    margin: -20px auto 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  }

  .mobile-welcome-text p {
    font-size: 18px;
    line-height: 1.25;
  }
}
