html {
  font-size: 14px;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #1e2a3a;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: calc(100vh - 60px);
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 0 20px 20px 20px;
  border-bottom: 1px solid #2d3e52;
}

.sidebar-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.sidebar-nav .nav-link {
  color: #b8c5d6;
  padding: 12px 20px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover {
  background-color: #2d3e52;
  color: #4f8ef7;
  border-left-color: #4f8ef7;
}

.sidebar-nav .nav-link.disabled {
  color: #7a8aa3;
  font-size: 12px;
}

/* Main Layout */
.app-container {
  display: flex;
  min-height: calc(100vh - 60px);
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-bar {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.top-bar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e2a3a;
  margin: 0;
}

.top-bar-user {
  font-size: 13px;
  color: #666;
}

.main-content {
  flex: 1;
  padding: 30px;
}

/* Footer */
.app-footer {
  background-color: #1e2a3a;
  color: #b8c5d6;
  padding: 15px 0;
  text-align: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -250px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .main-content {
    padding: 20px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: none;
}