/* ================================
   General Layout and Fonts
================================= */
html, body {
  /* height: 1000%; */
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  /* overflow: hidden; */
  /* min-height: 500vh; */
  position: relative;
  background: url('/images/background.png') no-repeat center center fixed;
  background-size: cover;
}

h1, h6, .navbar-brand, .button {
  font-family: 'Display Playfair', serif;
}

a {
  color: #fff;
}

/* ================================
   Overlay Layer
================================= */


/* ================================
   Top Bar, Navbar, Content Layer
================================= */
.tab-bar, .navbar {
  position: fixed;
}


.top-bar,
.navbar,
.content {
  position: relative;
  z-index: 2;
}

.top-bar a {
  margin-right: 3vh;
  z-index: 0;
  border-bottom: #fff;
}

.top-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.337);
}

.navbar-custom {
  background-color: transparent;
}

.navbar-brand {
  font-size: 2rem;
}

.nav-link {
  font-size: 1rem;
}

/* ================================
   Fonts and Text Styling
================================= */
.small {
  font-size: 80%;
  font-weight: 400;
  text-decoration: none;
}

.nav-item {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 100;
}

/* ================================
   Content and Buttons
================================= */
.content {
  height: 90vh;
}

.button {
  font-family: 'Inter', serif;
}

.content_homepage {
  background-color: #00AEFF;
  border-color: #00AEFF;
}

.heading-times {
  font-family: 'Times New Roman', Times, serif !important;
}

/* ================================
   Button and Hover Effects
================================= */
.btn-primary,
.content_homepage.btn,
.button.btn,
.nav-item.btn,
.nav-link {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover,
.content_homepage.btn:hover,
.button.btn:hover,
.nav-item.btn:hover,
.nav-link:hover {
  /* background: #0056b3 !important; */
  color: #fff !important;
  /* box-shadow: 0 4px 16px rgba(0, 72, 193, 0.15); */
  text-decoration: none;
  border-radius: 8px;
}

/* Rounded Pill Buttons */
.btn.rounded-pill:hover {
  background: #007bff !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 72, 193, 0.15);
}


/* Login */
.login-form{
  /* z-index: 2; */
  
  background-color: #fbfbfbdb;
  border-radius: 1rem;
}

.login-button{
  background: #007bff !important;
}

/* dashboard */

.side {
    z-index: 100;
}
/* Dashboard specific styles */
.bg-dark {
    background: #18411fc4 !important;
}
.bg-dark_1 {
  background: #2d5a34e7 !important;
}
.profiler_color {
  background: #acc5b0 !important;
}

/* .dashboard_content {
  background: #b91818;
  z-index: 1000;
} */

/* Responsive adjustments */
@media (max-width: 767.98px) {
    main {
        padding: 15px;
        /* overflow: scroll; */
    }
    html, body {
      overflow: scroll;
    }
    

}

@media (min-width: 768px) {
    main {
        padding: 20px;
        /* overflow: scroll; */
    }
    .login-form {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* Card responsive adjustments */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Table responsive */
.table-responsive {
    border-radius: 0.375rem;
}

/* Ensure text readability */
.text-white {
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Button styling */
.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Profile image adjustments */
.rounded-circle {
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hide_profile{
  display: none;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {

    .h2 {
        font-size: 1.5rem;
    }
    
    .card-body h2 {
        font-size: 1.75rem;
    }
    
    .small1 {
        display: none;
    }

    html, body {
      overflow: scroll;
    }

    .hide_profile{
      display: block;
    }


}

.enrollment_section{
  z-index: 1000;
}


