/** This file is auto-generated by the Clean Theme configuration. Do not edit the file directly. */

:root {
    --hh-ct-container-max-width: 1300px;
    --default: #C0C0C0;
    --primary: #2253A3;
    --info: #5F8DD3;
    --success: #518132;
    --warning: #AF640E;
    --danger: #E02A2A;
    --link: #2253A3;
    --hh-ct-text-color-heading: #2253A3;
    --text-color-main: #000000;
    --text-color-default: #2253A3;
    --text-color-secondary: #5F8DD3;
    --text-color-highlight: #2253A3;
    --text-color-soft: #555555;
    --text-color-soft2: #838383;
    --text-color-soft3: #C0C0C0;
    --text-color-contrast: #FFFFFF;
    --background-color-main: #ffffff;
    --background-color-secondary: #f7f7f7;
    --background-color-page: #f1f4f5;
    --background-color-highlight: #5F8DD326;
    --background-color-highlight-soft: #E5E5E5;
    --hh-ct-font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hh-ct-font-size: 15px;
    --hh-ct-font-weight: 400;
    --hh-ct-font-bold-weight: 700;
    --hh-ct-heading-font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hh-ct-ph-font-size: 16px;
    --hh-ct-h1-font-size: 1.7em;
    --hh-ct-h1-stream-font-size: 1.45em;
    --hh-ct-h2-font-size: 1.5em;
    --hh-ct-h2-stream-font-size: 1.3em;
    --hh-ct-h3-font-size: 1.2em;
    --hh-ct-h4-font-size: 1.1em;
    --hh-ct-h5-font-size: 1.0em;
    --hh-ct-h6-font-size: 0.85em;
    --hh-ct-ph-font-weight: 700;
    --hh-ct-panel-border-width: 1px;
    --hh-ct-panel-border-style: solid;
    --hh-ct-panel-border-color: #C0C0C0;
    --hh-ct-panel-border-radius: 4px;
    --hh-ct-panel-box-shadow: 0 1px 10px #00000019;
    --hh-ct-menu-font-size: 14px;
    --hh-ct-menu-text-color: #2253A3;
    --hh-ct-menu-border-color: #C0C0C0;
    --hh-ct-top-bar-height: 56px;
    --hh-ct-top-bar-font-size: 12px;
    --hh-ct-top-menu-nav-justify-content: center;
    --hh-ct-top-menu-background-color: #FFFFFF;
    --hh-ct-top-menu-text-color: #000000;
    --hh-ct-top-menu-button-hover-background-color: #5F8DD3;
    --hh-ct-top-menu-button-hover-text-color: #FFFFFF;

    --background-color-main-darken-10: #e6e6e6;
    --background-color-page-darken-5: #e4e7e8;
    --background-color-page-lighten-10: #ffffff;
    --background-color-page-lighten-20: #ffffff;
    --background-color-page-lighten-30: #ffffff;
    --background-color-secondary-darken-2: #f2f2f2;
    --background-color-secondary-darken-5: #eaeaea;
    --danger-darken-10: #b52222;
    --danger-darken-5: #cb2626;
    --danger-lighten-20: #ed8383;
    --danger-lighten-5: #e34040;
    --default-darken-2: #bbbbbb;
    --default-darken-5: #b3b3b3;
    --default-lighten-2: #c5c5c5;
    --info-darken-10: #4f76b0;
    --info-darken-27: #344e74;
    --info-darken-5: #5781c1;
    --info-lighten-25: #c3d4ef;
    --info-lighten-30: #d7e3f4;
    --info-lighten-40: #ffffff;
    --info-lighten-5: #739bd9;
    --info-lighten-50: #ffffff;
    --info-lighten-8: #7fa4dc;
    --link-darken-2: #204f9b;
    --link-lighten-5: #3461aa;
    --primary-darken-10: #193e79;
    --primary-darken-5: #1e488e;
    --primary-lighten-10: #466fb2;
    --primary-lighten-20: #6a8bc1;
    --primary-lighten-25: #7c99c8;
    --primary-lighten-5: #3461aa;
    --primary-lighten-8: #3f69af;
    --success-darken-10: #3a5c24;
    --success-darken-5: #456f2b;
    --success-lighten-20: #87a871;
    --success-lighten-5: #5e8b42;
    --text-color-highlight-fade-15: #2253A326;
    --text-color-highlight-fade-30: #2253A34d;
    --text-color-secondary-lighten-25: #c3d4ef;
    --warning-darken-10: #80490a;
    --warning-darken-2: #a65f0d;
    --warning-darken-5: #97570c;
    --warning-lighten-10: #bc7d34;
    --warning-lighten-20: #c8955b;
    --warning-lighten-40: #e2c7a7;
    --warning-lighten-5: #b57021;
    --hh-ct-top-bar-bottom-spacing: 30px;
    --hh-fixed-header-height: 86px;
    --hh-fixed-footer-height: 0px;
}

@media (max-width: 768px) {
    :root {
        --hh-ct-top-bar-height: 50px;
        --hh-ct-top-bar-bottom-spacing: 5px;
        --hh-fixed-header-height: 55px;
    }
}

@media (max-width: 570px) {
    :root {
        --hh-fixed-footer-height: 52px;
    }
}

/* UHWI Intranet Custom CSS
 * This CSS enhances the HumHub interface to better align with UHWI's brand identity
 * and improve visual appeal beyond what the Clean Theme module can accomplish.
 */
/* Hide footer navigation */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
.footer-nav {
  display: none !important;
}
/* Hide account settings and powered by text */
a[data-menu-id="account-settings-modules"], .powered {
  display: none;
}
/* active menu & topbar */
body.hh-ct-menu-style-background #topbar > .container > .nav > li.active > a {
  border-bottom: 3px solid #E02A2A;
  background-color: #2253a3;
}
#topbar {
  border-bottom: 3px solid #E02A2A;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
#topbar > .container > .nav > li:not(.active) > a:hover {
  border-bottom: 3px solid #E02A2A;
}
#topbar > .container > .nav > li > a {
  border-bottom: 3px solid #E02A2A;
}
#topbar > .container #search-menu {
  border-bottom: none;
}
/* body.hh-ct-menu-style-background #topbar>.container>.nav>li.active>a {
    background-color: var(--hh-ct-top-menu-text-color);
    color: var(--hh-ct-top-menu-background-color);
    border-bottom: none;
} */
/* Wall Entry */
.wall-entry-footer {
  padding-top: 12px;
}
/* Import Google Font - DM Sans */
/* Apply the font and background only to the login container */
.login-container {
  font-family: "DM Sans", sans-serif;
  background-color: #f5f5f5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("https://res.cloudinary.com/dh7xmnejr/image/upload/t_Banner 16:9/v1747679866/UHWI%20Intranet/uhwibg_gwblwy.png");
  /* Hospital exterior image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  /* Ensure the container fills the viewport height */
}
/* Banner for logged out users - only within login container */
#banner {
  background-color: #2253a3 !important;
  /* UHWI Blue */
  color: #fff;
  text-align: center;
  font-weight: 500;
}
#banner {
  border-bottom: 3px solid #e02a2a;
  /* UHWI Red border */
}
/* Logo styling - directly target the logo link and image */
.login-container #user-auth-login a[data-pjax-prevent=""] {
  display: block;
  text-align: center;
  margin: 0px auto;
}
.login-container #img-logo, .login-container img.img-rounded {
  max-width: 180px !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  /* White glow around logo */
  /* background-color: rgba(255, 255, 255, 0.2); */
  padding: 10px;
  border-radius: 8px;
}
/* Login form panel styling */
.login-container #login-form, .login-container .login-container #register-form {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: none;
  margin: 0 auto 20px;
  text-align: left;
  max-width: 350px;
  font-family: "DM Sans", sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* #login-form:hover,
#register-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
} */
.login-container #login-form .panel-heading, .login-container #register-form .panel-heading {
  background-color: #2253a3;
  /* UHWI Blue */
  color: #fff;
  padding: 20px;
  border-bottom: 3px solid #e02a2a;
  /* UHWI Red */
  font-size: 18px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  border-radius: 0;
}
.login-container #login-form .panel-body, .login-container #register-form .panel-body {
  padding: 25px;
  font-family: "DM Sans", sans-serif;
}
/* Target all forms in the login container */
.login-container #account-login-form, .login-container #invite-form {
  font-family: "DM Sans", sans-serif;
}
/* Target all text input fields in both forms */
.login-container #login_username, .login-container #login_password, .login-container #register-email, .login-container #invite-captcha, .login-container .form-control {
  border: 1px solid #c0c0c0;
  /* UHWI Silver */
  border-radius: 6px;
  padding: 12px 15px;
  height: auto;
  transition: all 0.3s;
  font-family: "DM Sans", sans-serif;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}
.login-container #login_username:focus, .login-container #login_password:focus, .login-container #register-email:focus, .login-container #invite-captcha:focus, .login-container .login-container .form-control:focus {
  border-color: #2253a3;
  /* UHWI Blue */
  box-shadow: 0 0 0 0.2rem rgba(34, 83, 163, 0.25);
  /* UHWI Blue glow */
  outline: none;
}
/* Password visibility toggle */
.login-container .humhub-pw-show {
  color: #2253a3;
  /* UHWI Blue */
  opacity: 0.8;
  transition: opacity 0.3s;
  top: 6px !important;
}
.login-container .humhub-pw-show:hover {
  opacity: 1;
  color: #e02a2a;
  /* UHWI Red */
}
/* Remember me checkbox */
.login-container #login-rememberme:checked {
  background-color: #2253a3;
  /* UHWI Blue */
  border-color: #2253a3;
}
.login-container label {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  color: #333;
}
/* Sign in button styling */
.login-container #login-button, .login-container #invite-form button[type="submit"] {
  background-color: #2253a3;
  /* UHWI Blue */
  border-color: #2253a3;
  transition: all 0.3s;
  font-weight: 600;
  padding: 10px 20px;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.login-container #login-button:hover, .login-container #login-button:focus, .login-container #invite-form button[type="submit"]:hover, .login-container #invite-form button[type="submit"]:focus {
  background-color: #1a4182;
  /* Darker Blue */
  border-color: #1a4182;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
/* Forgot password link */
.login-container #password-recovery-link {
  color: #2253a3;
  /* UHWI Blue */
  transition: color 0.3s;
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  font-weight: 500;
}
.login-container #password-recovery-link:hover, .login-container #password-recovery-link:focus {
  color: #e02a2a;
  /* UHWI Red */
  text-decoration: none;
}
/* Style all paragraphs in both login and register forms */
.login-container #login-form p, .login-container #register-form p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}
/* Registration panel - specific styling */
.login-container #register-form .panel-heading strong {
  color: #c0c0c0;
  /* UHWI Silver */
}
/* CAPTCHA styling */
.login-container #registration-form-captcha {
  margin: 15px 0;
  border-radius: 6px;
  overflow: hidden;
}
.login-container #invite-captcha-image {
  margin-bottom: 10px;
  border-radius: 6px;
  max-width: 100%;
  border: 1px solid #e5e5e5;
  /* Light Gray */
}
/* Other registration-specific buttons */
.login-container [id*="register"] button:not([type="submit"]), .login-container button[id*="register"]:not([type="submit"]), .login-container .btn-default {
  background-color: #c0c0c0;
  /* UHWI Silver */
  border-color: #c0c0c0;
  color: #000;
  /* Black text */
  transition: all 0.3s;
  font-weight: 500;
  padding: 8px 16px;
  font-family: "DM Sans", sans-serif;
  border-radius: 6px;
}
.login-container [id*="register"] button:not([type="submit"]):hover, .login-container [id*="register"] button:not([type="submit"]):focus, .login-container .login-container button[id*="register"]:not([type="submit"]):hover, button[id*="register"]:not([type="submit"]):focus, .login-container .btn-default:hover, .login-container .btn-default:focus {
  background-color: #a0a0a0;
  /* Darker Silver */
  border-color: #a0a0a0;
  color: #000;
  box-shadow: 0 0 0 0.2rem rgba(192, 192, 192, 0.25);
  /* Silver glow */
}
/* Form group styling */
.login-container .form-group {
  margin-bottom: 15px;
}
/* Help block styling for form validation */
.login-container .help-block {
  color: #e02a2a;
  /* UHWI Red */
  font-size: 12px;
  margin-top: 5px;
  font-family: "DM Sans", sans-serif;
}
/* Horizontal rule styling */
.login-container hr {
  border-top: 1px solid #e5e5e5;
  /* Light Gray */
  margin: 20px 0;
}
/* Language dropdown styling */
.login-container .langSwitcher {
  display: none;
}
/* Footer text styling */
.login-container .login-footer, .login-container [class*="footer"] {
  color: #fff;
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* Select2 dropdown styling */
.select2-container--humhub .select2-selection--single {
  border-radius: 6px;
  border: 1px solid #c0c0c0;
  /* UHWI Silver */
  height: 38px;
  padding: 4px 8px;
}
.select2-container--humhub .select2-selection--single:focus {
  border-color: #2253a3;
  /* UHWI Blue */
}
.select2-container--humhub .select2-results__option--highlighted[aria-selected] {
  background-color: #2253a3;
  /* UHWI Blue */
}
/* Create a subtle hospital-related background pattern */
.login-container .panel-body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="0" width="4" height="20" fill="%23f5f5f5"/><rect y="8" x="0" height="4" width="20" fill="%23f5f5f5"/></svg>');
  background-size: 40px 40px;
  opacity: 0.05;
  pointer-events: none;
}
/* Animated effects - subtle and professional */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* #login-form,
#register-form {
  animation: fadeInUp 0.6s ease-out;
} */
/* Mobile responsiveness */
@media (max-width: 767px) {
  .login-container {
    padding-top: 10px;
  }
  .login-container #login-form, .login-container #register-form {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
    max-width: 90%;
  }
  .login-container #img-logo {
    max-width: 140px !important;
  }
  .login-container #user-auth-login a[data-pjax-prevent=""] {
    display: block;
    text-align: center;
    margin: 10px auto;
  }
  .login-container #login-form .panel-heading, .login-container #register-form .panel-heading {
    padding: 15px;
    font-size: 16px;
  }
  .login-container #login-form .panel-body, .login-container #register-form .panel-body {
    padding: 15px;
  }
}
/* Special focus animation */
.form-control:focus {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 83, 163, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 83, 163, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 83, 163, 0);
  }
}
/* Enhance password field */
.login-container #login_password {
  /* letter-spacing: 3px; */
  font-family: "DM Sans", sans-serif;
  /* font-size: 16px; */
}
/* Shake animation for invalid login attempt */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
.has-error .form-control {
  border-color: #e02a2a !important;
  /* UHWI Red */
  animation: shake 0.6s;
}
/* Styles for authentication header text */
.panel-heading strong {
  font-weight: 600;
  opacity: 0.8;
}
li a[href="/user/account/change-username"] {
  display: none;
}
li a[href="/user/account/change-email"] {
  display: none;
}

