/* ============================================
   AcademiaCore — style.css
   Ana CSS giriş noktası. Tüm katmanları import eder.
   Sayfa özelinde CSS → main.php tarafından dinamik yüklenir.
   ============================================ */
/* @typography-contract v2 */

@import url('base.css?v=180');
@import url('layout.css?v=183');
@import url('components.css?v=178');

.header-brand {
  margin-left: -9px;
}

/* Custom Checkbox for Bulk Actions */
.custom-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-height: 20px;
  padding-left: 28px;
  /* Make room for the checkmark */
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s;
}

.custom-checkbox:hover input~.checkmark {
  border-color: var(--accent);
}

.custom-checkbox input:checked~.checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Contract v2 responsive top-header overlay */
.header-brand--menu {
  cursor: pointer;
}

.top-header__brand-label {
  font-size: var(--font-size-card-title);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-tight);
}

.page-title-section__title {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-size: var(--font-size-section-title);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  display: flex;
  align-items: center;
}

.page-title-section__icon {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--text-supporting);
  font-size: var(--icon-size-lg);
}
/* strictly center the page title relative to the screen */
.page-title-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCentered 0.4s ease !important;
  border-left: none !important;
  padding-left: 0 !important;
}

@keyframes fadeInCentered {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 768px) {
  .top-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-left {
    flex: 1 1 auto;
    gap: 10px;
  }

  .header-center {
    display: none;
  }

  .header-brand {
    width: 42px;
    flex: 0 0 42px;
    gap: 0;
  }
}


