/* Custom styles for SmartCurriculum */

html {
  font-size: 14px;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

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

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

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

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* AdminLTE compatibility adjustments */
body {
  margin-bottom: 0; /* Remove margin to work with AdminLTE footer */
}

/* Override for form controls */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom styles for SmartCurriculum with AdminLTE */
.content-wrapper {
  min-height: calc(100vh - 57px - 57px); /* Adjust for header and footer height */
}

/* Brand logo customization */
.brand-link .brand-text {
  font-weight: 600 !important;
}

/* Custom sidebar menu item active state */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
  background-color: #1b6ec2;
}

/* Sidebar menu arrow alignment */
.sidebar-menu .nav-link p {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.sidebar-menu .nav-link .end {
  position: absolute;
  right: 1rem;
  margin-top: 3px;
}

/* Ensure submenu items are properly indented */
.nav-treeview .nav-link {
  padding-left: 2.5rem;
}

/* Style for open menu items */
.sidebar-menu .nav-item.menu-open > .nav-link {
  background-color: rgba(255, 255, 255, 0.1);
}

.row .small-box a {
  text-decoration: none;
}