/* MEZUNLAR PAGE */

.mezun-tabs-wrapper {
  position: sticky;
  top: 65px;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  pointer-events: none;
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

.mezun-tabs {
  display: flex;
  gap: .35rem;
  padding: .4rem .5rem;
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 8px 32px rgba(0, 0, 0, 0.3);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  pointer-events: auto;
  overflow-x: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mezun-tabs:hover {
  border-color: rgba(244, 168, 54, 0.25);
  box-shadow: var(--shadow-lg), 0 12px 48px rgba(244, 168, 54, 0.08);
}

.mezun-tab {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease-normal);
  white-space: nowrap;
}

.mezun-tab:hover { background: var(--glass-bg); color: var(--text-primary); }
.mezun-tab.active { background: linear-gradient(135deg,var(--gold-500),var(--gold-700)); color: var(--navy-950); border-color: transparent; font-weight: 600; }

/* Filters */
.filters-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto 1.75rem auto;
  padding: 0.5rem 0.75rem;
  background: rgba(13, 27, 42, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), 0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  justify-content: center;
  width: fit-content;
  max-width: 100%;
}

.filters-bar:hover {
  border-color: rgba(244, 168, 54, 0.25);
  box-shadow: var(--shadow-lg), 0 12px 48px rgba(244, 168, 54, 0.08);
}

@media (min-width: 769px) {
  .filters-bar {
    position: sticky;
    top: 145px;
    z-index: 45;
  }
}

.filters-bar .form-input,
.filters-bar .form-select {
  border-radius: var(--radius-full) !important;
  padding: 0 1.25rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 38px;
  font-size: 0.85rem !important;
  color: var(--text-primary) !important;
  transition: all 0.25s ease !important;
}

.filters-bar .form-select {
  padding-right: 2rem !important;
}

.filters-bar .form-input:hover,
.filters-bar .form-select:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.filters-bar .form-input:focus,
.filters-bar .form-select:focus {
  border-color: var(--gold-500) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 12px rgba(244, 168, 54, 0.15) !important;
}

/* Custom checkbox wrapper styled as a pill */
.filters-bar label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-full) !important;
  padding: 0 1.25rem !important;
  height: 38px !important;
  transition: all 0.25s ease !important;
  user-select: none;
  flex-shrink: 0;
}

.filters-bar label:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(244, 168, 54, 0.25) !important;
  color: var(--text-primary) !important;
}

/* Custom Checkbox Design */
.filters-bar label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  background: transparent;
}

.filters-bar label input[type="checkbox"]:hover {
  border-color: var(--gold-500);
}

.filters-bar label input[type="checkbox"]:checked {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.filters-bar label input[type="checkbox"]:checked::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--navy-950);
  border-bottom: 2px solid var(--navy-950);
  transform: rotate(-45deg) translate(1px, -1px);
  display: block;
}

.alumni-count {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Alumni Card */
.alumni-card-full {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  cursor: pointer;
}

.alumni-card-full:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.alumni-card-full .ac-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alumni-card-full .ac-info strong {
  display: block;
  color: var(--text-primary);
  font-size: .95rem;
  font-family: 'Outfit', sans-serif;
}

.alumni-card-full .ac-info span {
  font-size: .78rem;
  color: var(--gold-500);
  font-weight: 600;
}

.alumni-card-full .ac-job {
  font-size: .85rem;
  color: var(--text-secondary);
}

.alumni-card-full .ac-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.alumni-card-full .ac-actions {
  display: flex;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
}

.ac-mentor-badge {
  font-size: .62rem !important;
  padding: .15rem .5rem !important;
  margin-left: .4rem;
  vertical-align: middle;
}

/* Active filter chips */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 38px;
  padding: .45rem .85rem;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-400);
  background: rgba(244, 168, 54, .08);
  border: 1px solid rgba(244, 168, 54, .25);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all .2s ease;
}

.filter-chip:hover { background: rgba(244, 168, 54, .16); }

.filter-chip-clear {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--glass-border);
}

.filter-chip-clear:hover { color: var(--text-primary); background: var(--glass-bg); }

/* Skeleton loading */
.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  100% { transform: translateX(100%); }
}

.skeleton-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
}

.skeleton-line {
  height: 12px;
  margin-bottom: .6rem;
}

/* Year Bazlı */
.yillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.decade-section { margin-bottom: 3rem; }
.decade-section:last-child { margin-bottom: 0; }

.decade-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.decade-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.decade-header .decade-line {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
  align-self: center;
}

.decade-header span {
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.yil-card {
  cursor: pointer;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.yil-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }

.yil-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg,var(--gold-400),var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.yil-info strong { display: block; font-size: .92rem; color: var(--text-primary); }
.yil-info span { font-size: .8rem; color: var(--text-muted); }
.yil-arrow { font-size: 1.5rem; color: var(--text-muted); }

/* Mentor Card */
.mentor-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.mentor-card .mc-avatar {
  margin: 0 auto 1rem;
  position: relative;
  display: inline-block;
}

.mentor-card .mc-badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}

.mentor-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.mentor-card .mc-year { font-size: .75rem; color: var(--gold-500); font-weight: 600; display: block; }
.mentor-card .mc-job { font-size: .82rem; color: var(--text-secondary); margin: .4rem 0; }
.mentor-card .mc-city { font-size: .78rem; color: var(--text-muted); }

/* Classes Tab Member Cards Styling */
.p-card {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.p-header {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.p-info strong {
  display: block !important;
  color: var(--text-primary) !important;
  font-size: 1.05rem !important;
  font-family: 'Outfit', sans-serif !important;
}

.p-info span {
  font-size: 0.8rem !important;
  color: var(--gold-500) !important;
  font-weight: 600 !important;
}

.p-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  border-top: 1px solid var(--glass-border) !important;
  padding-top: 0.75rem !important;
  margin-top: 0.25rem !important;
}

.p-detail {
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.p-detail i, .p-detail svg {
  color: var(--gold-500) !important;
  flex-shrink: 0 !important;
}

@media (max-width: 600px) {
  .filters-bar { 
    flex-direction: column; 
    align-items: stretch; 
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
  }
  .filters-bar > .form-input,
  .filters-bar > .form-select {
    max-width: none !important;
    width: 100% !important;
  }
  .p-header { gap: 0.75rem !important; }
}
