/* LoadetXperience Crafty brand override */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html, body, .container-scroller, .page-body-wrapper, .content-wrapper {
  font-family: "Poppins", sans-serif !important;
  background: #1A1230 !important;
  color: #FAFAFA !important;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.08) 0%, transparent 55%),
    #1A1230 !important;
  background-attachment: fixed !important;
}

.navbar.default-layout,
.navbar {
  background: rgba(15, 10, 26, 0.95) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand-wrapper,
.sidebar,
.sidebar .nav {
  background: #211635 !important;
  border-right: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.sidebar .nav .nav-item .nav-link,
.sidebar .nav .nav-item .nav-link .menu-title {
  color: #FAFAFA !important;
}

.sidebar .nav .nav-item.active > .nav-link,
.sidebar .nav .nav-item:hover > .nav-link {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #FFE14A !important;
}

.card, .card.card-img-holder, .auto-form-wrapper, .login-modal,
.dropdown-menu, .modal-content, .toast, .alert {
  background: #2A1D40 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 14px !important;
  color: #FAFAFA !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}

.card .card-title, h1, h2, h3, h4, h5, .page-title {
  color: #FFE14A !important;
}

a { color: #A78BFA; }
a:hover { color: #FFE14A; }

.form-control, .form-control-lg, select.form-control, textarea.form-control,
.select2-container--default .select2-selection--single {
  background: #1A1230 !important;
  border: 2px solid rgba(139, 92, 246, 0.3) !important;
  color: #FAFAFA !important;
  border-radius: 10px !important;
}

.form-control:focus {
  border-color: #8B5CF6 !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.45) !important;
}

/* Primary / Start buttons = Gold like website */
.btn-primary,
.btn-info,
.play_button,
.play_button.btn,
a.play_button,
button.play_button,
#start-btn,
#start-btn.btn,
#start-btn.btn-primary,
button#start-btn,
.btn-toggle.active {
  background: linear-gradient(135deg, #FFE14A, #B8860B) !important;
  border-color: #FFE14A !important;
  color: #1A1230 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35) !important;
}

.btn-primary:hover,
.btn-info:hover,
.play_button:hover,
#start-btn:hover,
button#start-btn:hover {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6) !important;
  border-color: #8B5CF6 !important;
  color: #FAFAFA !important;
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.5) !important;
}

.btn-outline-primary,
.btn-outline-info,
.btn-outline-success {
  color: #FFE14A !important;
  border: 2px solid #FFE14A !important;
  background: transparent !important;
  border-radius: 10px !important;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
  background: #8B5CF6 !important;
  border-color: #8B5CF6 !important;
  color: #FAFAFA !important;
}

.btn-danger, .stop_button, #stop-btn {
  border-radius: 10px !important;
}

.table, .table td, .table th {
  color: #FAFAFA !important;
  border-color: rgba(139, 92, 246, 0.2) !important;
}

.table thead th {
  color: #FFE14A !important;
  background: #211635 !important;
}

.nav-tabs .nav-link {
  color: #A0A0A0 !important;
  border: none !important;
}

.nav-tabs .nav-link.active {
  color: #FFE14A !important;
  background: transparent !important;
  border-bottom: 2px solid #FFE14A !important;
}

/* Login */
.auth.auth-bg-1 {
  background:
    radial-gradient(ellipse at top, rgba(139, 92, 246, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.12) 0%, transparent 55%),
    #1A1230 !important;
  background-image: none !important;
}

#login-form-background,
.auto-form-wrapper.login-modal {
  background: #2A1D40 !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

.footer, .main-panel > .footer {
  background: #211635 !important;
  border-top: 1px solid rgba(139, 92, 246, 0.2) !important;
  color: #A0A0A0 !important;
}

.progress, .progress-bar {
  border-radius: 8px;
}

.badge-primary, .badge-info {
  background: #8B5CF6 !important;
}

.text-primary, .text-info {
  color: #FFE14A !important;
}

/* Remove old purple-start-test dominance if present */

/* Loadet logos */
.navbar-brand img, .brand-logo img, .auto-form-logo img {
  max-height: 52px !important;
  width: auto !important;
  height: auto !important;
}
.navbar-brand.brand-logo-mini img {
  max-height: 40px !important;
  max-width: 40px !important;
}
.auto-form-logo img {
  max-height: 90px !important;
  margin-bottom: 10px;
}

/* brighter surfaces */
html, body, .container-scroller, .page-body-wrapper, .content-wrapper {
  background: #1A1230 !important;
  color: #FAFAFA !important;
}
body {
  background:
    radial-gradient(ellipse at top, rgba(167, 139, 250, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.12) 0%, transparent 55%),
    #1A1230 !important;
  background-attachment: fixed !important;
}
.navbar.default-layout, .navbar {
  background: rgba(30, 21, 48, 0.96) !important;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3) !important;
}
.navbar-brand-wrapper, .sidebar, .sidebar .nav {
  background: #211635 !important;
  border-right: 1px solid rgba(167, 139, 250, 0.25) !important;
}
.card, .card.card-img-holder, .auto-form-wrapper, .login-modal,
.dropdown-menu, .modal-content, .toast, .alert {
  background: #2A1D40 !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
}
.form-control, .form-control-lg, select.form-control, textarea.form-control {
  background: #201632 !important;
  border: 2px solid rgba(167, 139, 250, 0.35) !important;
  color: #FAFAFA !important;
}
.table thead th {
  background: #211635 !important;
}
.footer, .main-panel > .footer {
  background: #211635 !important;
}
.auth.auth-bg-1 {
  background:
    radial-gradient(ellipse at top, rgba(167, 139, 250, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.14) 0%, transparent 55%),
    #1A1230 !important;
  background-image: none !important;
}
#login-form-background, .auto-form-wrapper.login-modal {
  background: #2A1D40 !important;
}

/* Button click animations */
.btn,
button,
a.btn,
input[type="submit"],
input[type="button"],
.play_button,
.stop_button,
.restart_button,
.kill_button,
.clone_button,
.nav-link,
.dropdown-item,
.navbar-toggler,
.page-link,
.custom-picker {
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.12s ease !important;
  transform-origin: center center;
}

.btn:active,
button:active,
a.btn:active,
input[type="submit"]:active,
input[type="button"]:active,
.play_button:active,
.stop_button:active,
.restart_button:active,
.kill_button:active,
.clone_button:active,
.nav-link:active,
.dropdown-item:active,
.navbar-toggler:active,
.page-link:active,
.custom-picker:active {
  transform: scale(0.95) !important;
  filter: brightness(1.12) !important;
  box-shadow: 0 0 0 3px rgba(255, 225, 74, 0.35) !important;
  animation: loadet-btn-pop 0.28s ease;
}

@keyframes loadet-btn-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.93); }
  100% { transform: scale(0.95); }
}
