/* Base styles */
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden; /* Prevent scrolling on the body */
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
}

.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: .3rem;
}

/* Main Content Layout */
.container-fluid {
  flex: 1;
  overflow: hidden; /* Prevent scrolling in container */
  padding-left: 0;
  padding-right: 0;
}

.row {
  height: calc(100vh - 62px); /* Adjust based on topbar height + divider */
  margin: 0;
}

/* Content area styles */
.content-area {
  height: 100%;
  overflow-y: auto; /* Allow scrolling only within content if needed */
  padding: 20px;
}

/* Global links styling */
a {
  color: #00ACE8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #00ACE8;
}


@media (max-width: 500px) {
  .content-area {
    padding: 0 35px 0 0;
  }
  
  /* Fix the column layout on small screens */
  .leftbar-container.col-2 {
    flex: 0 0 0%;
    max-width: 0%;
    padding: 0;
  }
  
  .content-area.col-10 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
}