/* ========================================
   🌑 Login page Styles
   ======================================== */

.login-page {
  background-image: url('/backgrounds/loginBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: #fff;
}

/* ========================================
   🌑 Base Styles
   ======================================== */
body {
  background: url('../backgrounds/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f0f0f0;
  font-family: 'Cinzel', serif;
  margin: 0;
  padding: 0;
}

.form-control {
  padding: 0.75rem;
  font-size: 1rem;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  body {
    background: url('../images/your-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f0f0f0;
  }

  .card {
    background-color: #1e1e1e;
    border-color: #fff;
  }

  .form-control {
    background-color: #2a2a2a;
    color: #f0f0f0;
    border-color: #444;
  }

  .btn-arcane {
    background-color: #6c63ff;
    color: #fff;
    border: none;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.6);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    animation: pulseGlow 2s infinite;
    transition: all 0.3s ease-in-out;
  }

  .btn-arcane:hover {
    background-color: #5a52d4;
  }
}

/* ========================================
   🧙‍♂️ Buttons
   ======================================== */
.btn-arcane {
  background-color: #FFDB51;
  color: #1a1a1a;
  border: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transition: all 0.3s ease-in-out;
  animation: pulseGlow 2s infinite;
}

.btn-arcane:hover {
  background-color: #FFDB51;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  transform: scale(1.02);
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 10px rgba(212, 175, 55, 0.6); }
  50%  { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.6); }
}

/* ========================================
   🧭 Navigation
   ======================================== */
.bg-gradient-arcane {
  background: linear-gradient(to right, #2c2c54, #40407a);
  border-bottom: 2px solid #7f8fa6;
  box-shadow: 0 0 12px #7f8fa6;
}

.navbar {
  border-radius: 10px;
  margin: 10px;
  padding: 10px 20px;
}

.navbar-nav .nav-link {
  font-family: 'Cinzel', serif;
  padding: 10px 20px;
  margin-right: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: #f5f6fa;
}

.navbar-nav .nav-link:hover {
  background-color: #485460;
  border-color: #7f8fa6;
  box-shadow: 0 0 8px #7f8fa6;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  margin: auto;
  height: 2px;
  width: 0;
  background: #FFDB51;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column !important;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    white-space: normal;
  }
}
.navbar-nav .nav-link.active {
  background-color: #40739e;
  border-color: #7f8fa6;
  font-weight: bold;
  box-shadow: 0 0 10px #00a8ff;
}

.navbar-text {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.95rem;
}

.btn-outline-light {
  border-color: #7f8fa6;
  color: #f5f6fa;
}

.btn-outline-light:hover {
  background-color: #7f8fa6;
  color: #2f3640;
}

/* ========================================
   🧱 Layout & Components
   ======================================== */
.container {
  padding-top: 2rem;
}

.card {
  background-color: #1e1e1e;
  border: 1px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.event-npc-list a {
  color: #FFDB51;
  font-weight: bold;
  transition: color 0.2s ease;
}

.event-npc-list a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

.select2-selection__placeholder {
  color: #aaa;           /* Light gray or your theme color */
  font-size: 1rem;     /* Adjust as needed */
  font-style: italic;    /* Optional for visual distinction */
}

/* ========================================
   ✨ Utility Classes
   ======================================== */
.accent-glow {
  color: #FFDB51;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

.spinner-border {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  animation: pulseGlow 1.5s infinite;
}

.custom-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  color: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.custom-toast.visible {
  opacity: 1;
  pointer-events: auto;
}

.custom-toast.success {
  background-color: #28a745;
}

.custom-toast.error {
  background-color: #dc3545;
}

.custom-toast.info {
  background-color: #333;
}





