.bolum-selection-container {
  min-height: 100vh;
  /* Varsayılan gradient, eğer inline style ile arka plan resmi ayarlanmadıysa kullanılır */
  background: linear-gradient(135deg, var(--gradient-start, #003459) 0%, var(--gradient-end, #00b4d8) 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bolum-selection-container::-webkit-scrollbar {
  display: none;
}

.bolum-selection-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.bolum-selection-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.bolum-selection-header .okul-logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: #ffffff;
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: fadeInDown 0.8s ease;
}

.bolum-selection-header .okul-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bolum-selection-header h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.bolum-selection-header .bolum-selection-system-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 300;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.bolum-selection-header .bolum-selection-subtitle {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 400;
  animation: fadeInDown 0.8s ease 0.4s both;
}

.bolum-selection-header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  font-weight: 300;
  animation: fadeInDown 0.8s ease 0.4s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bolum-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.bolum-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bolum-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
}

.bolum-card:hover::after {
  opacity: 1;
}

.bolum-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.bolum-card .bolum-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  padding: 15px;
  background: white;
  transition: all 0.4s ease;
}

.bolum-card:hover .bolum-logo {
  transform: scale(1.15);
  background: white;
}

.bolum-card .bolum-logo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #00a8e8);
  font-size: 2.5rem;
  transition: all 0.4s ease;
}

.bolum-card:hover .bolum-logo-placeholder {
  transform: scale(1.15);
  background: white;
}

.bolum-card .bolum-adi {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.bolum-card:hover .bolum-adi {
  color: white;
}

.bolum-card:active {
  transform: translateY(-8px) scale(0.98);
}

@media (max-width: 768px) {
  .bolum-selection-header h2 {
    font-size: 1.5rem;
  }

  .bolum-selection-header p {
    font-size: 1rem;
  }

  .bolum-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

  .bolum-card {
    padding: 25px 18px;
  }

  .bolum-card .bolum-logo,
  .bolum-card .bolum-logo-placeholder {
    width: 80px;
    height: 80px;
  }

  .bolum-card .bolum-logo-placeholder {
    font-size: 2rem;
  }

  .bolum-card .bolum-adi {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .bolum-cards-grid {
    grid-template-columns: 1fr;
  }
}

.bolum-degistirici-container {
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.05), rgba(0, 180, 216, 0.05));
  border-radius: 12px;
  padding: 20px;
  border: 2px solid rgba(0, 168, 232, 0.15);
}

.bolum-degistirici-container .form-label {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.bolum-degistirici-select {
  min-width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0, 168, 232, 0.3);
  border-radius: 8px;
  background: #ffffff;
  color: #2c3e50;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bolum-degistirici-select:hover {
  border-color: var(--primary-color, #00a8e8);
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.2);
}

.bolum-degistirici-select:focus {
  outline: none;
  border-color: var(--primary-color, #00a8e8);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.15);
}

.bolum-switcher-login {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.bolum-switcher-select {
  min-width: 200px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e50;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bolum-switcher-select:hover {
  border-color: var(--primary-color, #00a8e8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bolum-switcher-select:focus {
  outline: none;
  border-color: var(--primary-color, #00a8e8);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bolum-card {
  animation: fadeIn 0.5s ease forwards;
}

.bolum-card:nth-child(1) {
  animation-delay: 0.1s;
}
.bolum-card:nth-child(2) {
  animation-delay: 0.2s;
}
.bolum-card:nth-child(3) {
  animation-delay: 0.3s;
}
.bolum-card:nth-child(4) {
  animation-delay: 0.4s;
}
.bolum-card:nth-child(5) {
  animation-delay: 0.5s;
}
.bolum-card:nth-child(6) {
  animation-delay: 0.6s;
}

.bolum-selection-footer {
  position: relative;
  z-index: 1;
  opacity: 0.9;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  padding: 0 20px;
}

.bolum-selection-footer small {
  font-size: 0.95rem;
  line-height: 1.6;
}

.bolum-selection-footer a {
  transition: opacity 0.3s ease;
}

.bolum-selection-footer a:hover {
  opacity: 0.8;
}
