/* --- Base Styles (Mobile-First) --- */
/*
  By default, we stack the two columns vertically.
  The sidebar should appear first, then the main content.
*/
.main-layout-container {
  display: flex;
  flex-direction: column; /* Stack items vertically by default (mobile view) */
  min-height: 100vh; /* Optional: Make container fill the viewport height */
}

.main-layout-left {
  /* Style for the sidebar on mobile */
  width: 100%;
  border-bottom: 1px solid #ccc; /* Separator for mobile view */
}

.main-layout-right {
  /* Style for the main content on mobile */
  width: 100%;
  flex-grow: 1; /* Allow the main content area to take up remaining vertical space */
  padding: 15px; /* Add some padding around the main content */
}

.main-content-area {
  /* Any specific styles for the <main> element */
}

/* --- Media Query for Larger Screens (Desktop/Tablet) --- */
/*
  For screens wider than 768px (a common tablet breakpoint), 
  switch to a side-by-side layout.
*/
@media (min-width: 768px) {
  .main-layout-container {
    flex-direction: row; /* Display items horizontally */
  }

  .main-layout-left {
    /* Set a fixed or proportional width for the sidebar on desktop */
    max-width: 200px; /* Ensure a minimum width */
    border-bottom: none; /* Remove mobile separator */
    border-right: 1px solid #ccc; /* Add a vertical separator */
  }

  .main-layout-right {
    /* Allow the main content area to take up the remaining space */
    flex-grow: 1;
    width: auto; /* Let flexbox calculate the width */
  }
}
.notice {
color: green;
}

.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-alert {
  color: #8b0000;
  background-color: #ffefef;
  border-color: #7b0000;
  font-weight: 700;
}

.alert-notice {
  color: #006400;
  background-color: #90EE90;
  border-color: #006400;
  font-weight: 700;
}
.alert-dismissible {
  padding-right: 3rem;
}
.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
}

.alert-primary {
  color: #084298;
  background-color: #cfe2ff;
  border-color: #b6d4fe;
}
.alert-primary .alert-link {
  color: #06357a;
}

.alert-secondary {
  color: #41464b;
  background-color: #e2e3e5;
  border-color: #d3d6d8;
}
.alert-secondary .alert-link {
  color: #34383c;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}
.alert-success .alert-link {
  color: #0c4128;
}

.alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}
.alert-info .alert-link {
  color: #04414d;
}

.alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}
.alert-warning .alert-link {
  color: #523e02;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.alert-danger .alert-link {
  color: #6a1a21;
}

.alert-light {
  color: #636464;
  background-color: #fefefe;
  border-color: #fdfdfe;
}
.alert-light .alert-link {
  color: #4f5050;
}

.alert-dark {
  color: #141619;
  background-color: #d3d3d4;
  border-color: #bcbebf;
}
.alert-dark .alert-link {
  color: #101214;
}


