:root {
  --navbar-height: 56px;
  --sidebar-open: 17%;
  --sidebar-closed: 0px;
  --offcanvas-user: 50%;
  --offcanvas-candidate: 50%;
  --offcanvas-company: 50%;
}

body {
  padding-top: var(--navbar-height);
}

.outline-primary-span {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
  border-radius: 0.375rem;
  text-align: left;
  font-weight: bold;
}

.input-group > .outline-primary-span {
  border: 1px solid var(--bs-primary) !important;
}

.status-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(13, 110, 253, 0.22);
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--bs-primary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.grid-url-link {
  display: inline-block;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: rtl;
  text-align: left;
  vertical-align: bottom;
}

.grid-url-link--expired {
  color: #dc3545;
  font-weight: 700;
}

.grid-note-text {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-copy-btn {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.grid-copy-btn:hover,
.grid-copy-btn:focus {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: normal;
}

.navbar .nav-link.active {
  color: #fff;
  font-weight: 600;
}

#app-wrapper {
  display: flex;
  min-height: calc(100vh - var(--navbar-height));
}

#sidebar {
  width: var(--sidebar-open);
  transition: width 0.25s ease;
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--navbar-height));
}

#sidebar.collapsed {
  width: var(--sidebar-closed);
}

#offcanvas-company {
  width: var(--offcanvas-company);
}

@media (max-width: 899px) and (min-width: 600px) {
  :root {
    --sidebar-open: 30%;
    --offcanvas-user: 60%;
  }
}

@media (max-width: 599px) {
  :root {
    --sidebar-open: 60%;
    --offcanvas-user: 100%;
  }
}

#sidebar-menu {
  transition: opacity 0.15s ease;
  flex: 1;
  overflow-y: auto;
}

#sidebar.collapsed #sidebar-menu, #sidebar.collapsed #sidebar-footer {
  display: none;
}

#form-filter {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

#sidebar-footer {
  margin-top: auto;
  padding: 8px;
  border-top: 1px solid #dee2e6;
  background: #f8f9fa;
  flex-shrink: 0;
}

#content {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.input-group-text.short-border {
  position: relative;
  border-bottom: none !important;
}

.input-group-text.short-border::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 1px;
  background-color: var(--bs-info-bg-subtle);
}

.radio-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-wrap input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
}

.radio-wrap label {
  margin: 0;
  line-height: 1;
}

.formeo-wrap {
  min-height: 500px;
}

.creator-loading {
  min-height: 200px;
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bs-light);
}

.variable-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 12px;
  font-size: 14px;
}

/* Lesson settings styles moved to settings.css */
