/* =============================================================
   NEXSYS — Theme Base
   File: theme.css
   Version: 2.1 — footer restored
============================================================= */

/* ─────────────────────────────────────────────────────────────
   FONTS
───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────────────────────────
   BLESTA THEME TOKENS (replaced by Blesta from admin settings)
───────────────────────────────────────────────────────────── */
a, a:hover {
  color: #0074b2;
}

.pagination .page-item.active .page-link,
div.pagination ul.pagination li.active .page-link,
div.pagination ul.pagination li.active a {
  background-color: #0074b2;
  border-color: #0074b2;
}

.header {
  background: #ffffff;
  background: linear-gradient(#ffffff, #ffffff);
}

.title {
  background: linear-gradient(#f7f9fb, #f9f9fb);
}

.title h3 {
  color: #232629;
}

.nav-content nav.navbar {
  background: linear-gradient(#2e3338, #2e3338);
}

.nav-content nav.navbar .navbar-nav > li > a {
  color: #d8dbde !important;
}

.nav-content nav.navbar .navbar-nav > .active > a,
nav.navbar .navbar-nav > .active > a:hover,
nav.navbar .navbar-nav > .active > a:focus,
.nav-content nav.navbar .navbar-nav > li > a:hover {
  color: #fbfcfd !important;
}

/* ─────────────────────────────────────────────────────────────
   BRAND BASE
───────────────────────────────────────────────────────────── */
html, body {
  font-family: 'Montserrat', sans-serif !important;
}

::-moz-selection { background: #3994A8; color: #fff; }
::selection      { background: #3994A8; color: #fff; }

/* ─────────────────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────────────────── */
.bg-dark {
  background: #202020 !important;
  border-top: 2px solid #3994A8 !important;
}

.navbar-dark .navbar-nav .nav-link {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* Login button exception — must follow the rule above to override it */
.navbar-dark .navbar-nav .nav-link.nx-nav-login-btn {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

nav.navbar .logo {
  margin-right: 19px !important;
  display: flex;
  align-items: center;
}

nav.navbar .logo img {
  max-height: 60px !important;
  height: auto !important;
  width: auto !important;
  display: block;
}

/* Hard logo constraint — applies at ALL breakpoints, beats any override */
nav.navbar .logo,
nav.navbar .logo a {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  max-width: 260px !important;
  overflow: hidden !important;
}

nav.navbar .logo img,
nav.navbar .logo a img {
  display: block !important;
  max-width: 260px !important;
  max-height: 60px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (min-width: 992px) {
  nav.navbar > .container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  nav.navbar .logo {
    flex: 0 0 260px !important;
    max-width: 260px !important;
    margin-right: 20px !important;
  }

  nav.navbar .logo img {
    max-width: 260px !important;
    max-height: 60px !important;
    width: 100% !important;
    height: auto !important;
  }

  nav.navbar #navbarSupportedContent {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  nav.navbar .navbar-nav .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    white-space: nowrap !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL COMPONENTS
───────────────────────────────────────────────────────────── */
.btn-success {
  background-color: #3994A8 !important;
  border-color: transparent !important;
  border-radius: 999px !important;
}

.btn-success:hover, .btn-success:focus {
  background-color: #2a7a92 !important;
  border-color: #2a7a92 !important;
  color: #fff;
}

.form-control:focus {
  border-color: #3994A8 !important;
}

/* ─────────────────────────────────────────────────────────────
   NEXSYS FOOTER
───────────────────────────────────────────────────────────── */
.nexsys-footer {
  margin-top: 80px;
  background: #1d1d1d;
  border-top: 2px solid #3994A8;
  padding: 48px 0 18px;
  color: #c5c5c5;
}

.nexsys-footer__brand {
  display: inline-block;
  margin-bottom: 14px;
}

.nexsys-footer__logo {
  max-height: 54px;
  height: auto;
  width: auto;
  display: block;
}

.nexsys-footer__desc {
  color: #c5c5c5;
  opacity: 0.95;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.nexsys-footer__title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.nexsys-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nexsys-footer__links li {
  margin: 10px 0;
}

.nexsys-footer__links a {
  color: #c5c5c5;
  text-decoration: none;
  transition: all 0.12s ease-out;
}

.nexsys-footer__links a:hover {
  color: #40A1B7;
  padding-left: 4px;
}

.nexsys-footer__social a {
  font-size: 34px;
  margin-right: 10px;
  color: #c5c5c5;
  opacity: 0.75;
  transition: all 0.12s ease-out;
}

.nexsys-footer__social a:hover {
  color: #40A1B7;
  opacity: 1;
}

.nexsys-footer__contact {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.nexsys-footer__contact a {
  color: #c5c5c5;
  text-decoration: none;
}

.nexsys-footer__contact a:hover {
  color: #40A1B7;
}

.nexsys-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 24px;
  padding-top: 14px;
  text-align: center;
  color: #c5c5c5;
  opacity: 0.9;
}

.nexsys-footer__bottom a {
  color: #c5c5c5;
  text-decoration: none;
}

.nexsys-footer__bottom a:hover {
  color: #40A1B7;
}

@media (max-width: 767px) {
  .nexsys-footer {
    padding: 38px 0 18px;
  }
  .nexsys-footer__social a {
    font-size: 32px;
  }
}