@import url(fonts.css);

body {
  font-family: "Calibri", Arial, sans-serif;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.nolink,
.nolink:link,
.nolink:visited,
.nolink:hover,
.nolink:focus,
.nolink:active {
  color: inherit;
  text-decoration: none;
}

.mv-divAlert {
  margin-top: 10px;
  width: 600px;
}

.alert-safe-error {
  display: flex;
  justify-content: center;
  align-content: center;
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.alert-safe-error>button.close {
  display: none;
}

.mv-subtitle {
  color: #002b50;
  letter-spacing: 3px;
}

/* Buttons */
.mv-btn {
  border-radius: 25px;
  padding: 10px;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  min-width: 100px;
}

.mv-btnSuccess {
  color: #fff;
  background-color: #9FC131;
  border-color: #9FC131;
}

.mv-btnSuccess:hover {
  color: #fff;
  background-color: #5f731d;
  border-color: #5f731d;
}

.mv-btnPrimary {
  color: #fff;
  background-color: #042940;
  border-color: #042940;
}

.mv-btnSecondary {
  color: #fff;
  background-color: #005C53;
  border-color: #005C53;
}

.mv-btnFilter {
  margin-left: 5px;
}

.mv-btnPrimary:hover {
  color: #fff;
  background-color: #00090c;
  border-color: #00090c;
}

.mv-btnSecondary:hover {
  color: #fff;
  background-color: #003d35;
  border-color: #003d35;
}

.mv-btnDanger {
  color: #fff;
  background-color: #bb0200;
  border-color: #bb0200;
}

.mv-btnDanger:hover {
  color: #fff;
  background-color: #870100;
  border-color: #870100;
}

.mv-btnInfo {
  color: #fff;
  background-color: #00D58E;
  border-color: #00D58E;
}

.mv-btnInfo:hover {
  color: #fff;
  background-color: #00c281;
  border-color: #00c281;
}

.main-row {
  height: 85vh;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow-y: scroll;
}

.dataTables_wrapper {
  font-size: 1rem;
}

.mv-menuHorizontal {
  min-height: 15vh;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.2);
}

i.fas,
i.far {
  color: #002b50;
}

div#footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

div#mv-footerMenuVertical {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 8.333333%;
  min-width: 120px;
  height: 100vh;
  padding: 12px 0;
  overflow-y: auto;
  z-index: 1020;
  background-color: #fff;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.2);
  font-size: .9rem;
}

div#mv-footerMenuVertical + .col-lg-11 {
  margin-left: 8.333333%;
}

.mv-menuLink {
  display: flex;
  flex-direction: column;
}

.mv-menuLink:hover {
  font-weight: bold;
}

#mv-logoutLink {
  background-color: inherit;
  border: none;
}

.mv-boxContent {
  box-shadow: -2px 1px 7px 0px rgb(0 0 0 / 20%);
  border-radius: 25px;
  margin-bottom: 32px;
  padding: 24px;
}

@media (max-width: 991.98px) {
  div#mv-footerMenuVertical {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    min-width: 0;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px 0;
    overflow-y: visible;
    z-index: auto;
    background-color: transparent;
    height: auto !important;
    font-size: .9rem;
  }

  div#mv-footerMenuVertical .mv-menuLink,
  div#mv-footerMenuVertical form {
    flex: 1 1 0;
  }

  div#mv-footerMenuVertical .mv-menuLink,
  div#mv-footerMenuVertical #mv-logoutLink {
    width: 100%;
  }

  div#mv-footerMenuVertical + .col-lg-11 {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  div#footer {
    font-size: .9rem;
  }
}

.page-item.active .page-link {
  background-color: #042940;
  border-color: #042940;
}

.page-link {
  color: #365466;
}

/* IP details offcanvas (Bootstrap 5-like, custom for BS4) */
.mv-offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mv-offcanvas-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mv-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1070;
  display: flex;
  flex-direction: column;
  width: 40%;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.mv-offcanvas.show {
  transform: none;
  visibility: visible;
}

.mv-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
}

.mv-offcanvas-title {
  margin: 0;
  font-size: 1.1rem;
}

.mv-offcanvas-body {
  flex: 1 1 auto;
  padding: 1.25rem;
  overflow-y: auto;
}

.mv-ip-details-highlight {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
  border-left: 4px solid #042940 !important;
}

.mv-ip-details-highlight .mv-ip-detail-field strong {
  color: #042940;
}

.mv-ip-detail-field {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.mv-ip-detail-field:last-child {
  margin-bottom: 0;
}

.mv-ip-detail-field a {
  color: #042940;
  word-break: break-all;
}

.mv-ip-details-section .card-body {
  padding: 1rem 1.25rem;
}

.mv-ip-entity-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.mv-ip-entity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mv-ip-entity-roles {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.mv-ip-entity-roles .badge {
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  background-color: #365466;
  font-weight: normal;
  font-size: 0.75rem;
}

body.mv-offcanvas-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .mv-offcanvas {
    width: 85%;
  }
}

@media (max-width: 575.98px) {
  .mv-offcanvas {
    width: 100%;
  }
}
