/* Arkaplan: admin'den gelen URL CSS değişkeni ile gelir */
body {
  margin: 0;
  padding: 0;
  background: var(--bg-url) no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.upload-box {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
  padding: 50px 40px;
  border-radius: 30px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 1;
  text-align: center;
}
.upload-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: linear-gradient(60deg, #ff4b2b, #ff416c, #8f94fb, #4e54c8);
  background-size: 400% 400%;
  animation: neon 8s linear infinite;
  filter: blur(50px);
  z-index: -1;
}
.upload-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
}
@keyframes neon {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.upload-box h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.sub-title {
  font-size: 1.2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ff6b6b;
  text-shadow: 0 0 6px rgba(255,107,107,0.5);
}

.input-group { margin-bottom: 20px; width: 100%; }
.input-group .input-group-text {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: #fff; border: none;
  border-top-left-radius: 50px; border-bottom-left-radius: 50px;
}
.input-group .form-control {
  background: rgba(255,255,255,0.2);
  border: none; color: #fff; padding: 14px 20px;
  border-top-right-radius: 50px; border-bottom-right-radius: 50px;
  text-align: center; transition: background 0.3s, box-shadow 0.3s;
}
.input-group .form-control::placeholder { color: #ddd; }
.input-group .form-control:focus {
  background: rgba(255,255,255,0.3);
  outline: none; box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.file-label {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: white; padding: 14px 28px; display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.2s, filter 0.2s; filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
  cursor: pointer; border-radius: 50px;
}
.file-label:hover { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(143,148,251,0.7)); }

.submit-button {
  background: linear-gradient(135deg, #28a745, #85e085);
  color: #000; font-weight: 600; padding: 14px 30px; font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s; border: none; border-radius: 50px; margin-top: 20px;
}
.submit-button:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(133,224,133,0.7); }

.file-name { margin-top: 12px; font-style: italic; color: #ccc; font-size: 0.9rem; }

.alert { margin-top: 25px; border-radius: 50px; text-shadow: 0 0 4px rgba(0,0,0,0.3); }
.alert small { display:block; opacity:.9; }