/* _content/MultiTenantHub/Views/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Sticky Footer Implementation - Enhanced */
*[b-0zlj6t7kse] {
  box-sizing: border-box;
}

html[b-0zlj6t7kse] {
  height: 100%;
  min-height: 100vh;
}

body[b-0zlj6t7kse] {
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.main-content-wrapper[b-0zlj6t7kse] {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Allow flex to control height */
}

/* Ensure main content area takes full available height */
.main-content-wrapper .container[b-0zlj6t7kse] {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-content-wrapper main[role="main"][b-0zlj6t7kse] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Allow flex to control height */
}

.container[b-0zlj6t7kse] {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Lawyer Cabinet Layout Support */
.layout-container[b-0zlj6t7kse] {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 200px); /* Account for header and footer */
}

.main-content[b-0zlj6t7kse] {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  min-height: 400px;
}

.sidebar[b-0zlj6t7kse] {
  flex-shrink: 0; /* Prevents sidebar from shrinking */
  width: 250px;
  min-height: 100%;
}

/* Background wrapper for tenant layout */
.background-wrapper[b-0zlj6t7kse] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
}

/* Footer Styles - Responsive and adaptive */
.footer[b-0zlj6t7kse] {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  line-height: normal;
  z-index: 10;
  background-color: #343a40;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container[b-0zlj6t7kse] {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container[b-0zlj6t7kse] {
    max-width: 720px;
  }
  
  .sidebar[b-0zlj6t7kse] {
    width: 200px;
  }
  
  .main-content[b-0zlj6t7kse] {
    padding: 15px;
  }
  
  .main-content-wrapper[b-0zlj6t7kse] {
    min-height: 0;
  }
  
  .layout-container[b-0zlj6t7kse] {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .container[b-0zlj6t7kse] {
    max-width: 540px;
    padding: 0 10px;
  }
  
  .layout-container[b-0zlj6t7kse] {
    flex-direction: column;
    min-height: 0;
  }
  
  .sidebar[b-0zlj6t7kse] {
    width: 100%;
    order: 2;
    min-height: auto;
  }
  
  .main-content[b-0zlj6t7kse] {
    order: 1;
    padding: 10px;
    min-height: 0;
  }
  
  .main-content-wrapper[b-0zlj6t7kse] {
    min-height: 0;
  }
  
  .footer .col-lg-4[b-0zlj6t7kse],
  .footer .col-lg-2[b-0zlj6t7kse],
  .footer .col-lg-3[b-0zlj6t7kse] {
    margin-bottom: 2rem;
  }
  
  .footer .text-md-end[b-0zlj6t7kse] {
    text-align: left !important;
  }
}

@media (max-width: 576px) {
  .container[b-0zlj6t7kse] {
    max-width: 100%;
    padding: 0 5px;
  }
  
  .main-content[b-0zlj6t7kse] {
    padding: 5px;
    min-height: 0;
  }
  
  .main-content-wrapper[b-0zlj6t7kse] {
    min-height: 0;
  }
  
  .footer[b-0zlj6t7kse] {
    padding: 1rem 0 !important;
  }
  
  .footer .row[b-0zlj6t7kse] {
    margin: 0;
  }
  
  .footer .col-lg-4[b-0zlj6t7kse],
  .footer .col-lg-2[b-0zlj6t7kse],
  .footer .col-lg-3[b-0zlj6t7kse] {
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }
  
  /* Mobile navbar adjustments */
  .navbar-brand[b-0zlj6t7kse] {
    font-size: 1rem !important;
  }
}

a.navbar-brand[b-0zlj6t7kse] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-0zlj6t7kse] {
  color: #0077cc;
}

.btn-primary[b-0zlj6t7kse] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-0zlj6t7kse], .nav-pills .show > .nav-link[b-0zlj6t7kse] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-0zlj6t7kse] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-0zlj6t7kse] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-0zlj6t7kse] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-0zlj6t7kse] {
  font-size: 1rem;
  line-height: inherit;
}

.footer a[b-0zlj6t7kse] {
  color: #dee2e6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover[b-0zlj6t7kse] {
  color: #ffffff;
  text-decoration: underline;
}

.footer .text-primary[b-0zlj6t7kse] {
  color: #0d6efd !important;
}

.footer .social-links a[b-0zlj6t7kse] {
  transition: transform 0.2s ease;
}

.footer .social-links a:hover[b-0zlj6t7kse] {
  transform: translateY(-2px);
}
