/* ============================================
   MODERN GAMING LOGIN PAGE DESIGN
   ============================================ */

:root {
  --gaming-primary: #00d4ff;
  --gaming-secondary: #7b2cbf;
  --gaming-accent: #ff006e;
  --gaming-dark: #0a0e27;
  --gaming-darker: #050816;
  --gaming-glow: rgba(0, 212, 255, 0.5);
  --gaming-purple-glow: rgba(123, 44, 191, 0.4);
}

/* Background - Static gradient */
body.rfocp-bg {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1042 50%, #0a0e27 100%);
  position: relative;
  overflow-x: hidden;
}

/* Static particles background */
body.rfocp-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 0, 110, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(123, 44, 191, 0.2), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(0, 212, 255, 0.15), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 0, 110, 0.15), transparent);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0 !important;
}

/* Container styling */
.container-float {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Ensure main content and panels are above background */
main,
main.container-fluid,
#panel-container {
  position: relative;
  z-index: 100;
}

/* Ensure two-factor authentication pages are above background */
.twofa-page {
  position: relative;
  z-index: 100;
}

.twofa-page .card-body,
.twofa-page input,
.twofa-page button,
.twofa-page select,
.twofa-page textarea,
.twofa-page label {
  position: relative;
  z-index: 1;
}

/* Modern login container */
.login-container-frontpanel {
  max-width: 480px;
  width: 100%;
  perspective: 1000px;
}

.register-container-frontpanel {
  max-width: 600px;
  width: 100%;
}

/* Card styling with glass morphism */
.login-container-frontpanel .card,
.register-container-frontpanel .card {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 212, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

/* Card body */
.login-container-frontpanel .card-body,
.register-container-frontpanel .card-body {
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
}

/* Logo styling */
.card-frontend-login .gamecp-login-logo {
  max-width: 200px;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

/* Form styling */
#login-form-frontpanel,
#register-form-frontpanel {
  position: relative;
}

/* Modern floating label inputs */
.form-floating-label-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.form-floating-label-group input,
.form-floating-label-group select {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.form-floating-label-group input:focus,
.form-floating-label-group select:focus {
  background: transparent;
  border-color: var(--gaming-primary);
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.1),
    0 0 20px rgba(0, 212, 255, 0.3);
}

.form-floating-label-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Static label - always on top */
.form-floating-label-group label {
  position: absolute;
  left: 15px;
  top: -10px;
  color: var(--gaming-primary);
  font-size: 0.75rem;
  pointer-events: none;
  
  font-weight: 600;
}

/* Two-Factor Authentication Input */
#2fa-input {
  position: relative;
  z-index: 10;
}

#2fa-input input,
#2fa-input .form-control {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
  position: relative;
  z-index: 11;
}

#2fa-input input:focus,
#2fa-input .form-control:focus {
  background: transparent;
  border-color: var(--gaming-primary);
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.1),
    0 0 20px rgba(0, 212, 255, 0.3);
  color: #ffffff !important;
}

#2fa-input input::placeholder,
#2fa-input .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#2fa-input label {
  color: var(--gaming-primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  position: relative;
  z-index: 10;
}

/* Two-Factor Authentication Modal/Popup Fix */
/* Fix Bootstrap modal backdrop opacity that causes grayout */
.modal-backdrop {
  z-index: 1040 !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  pointer-events: none !important;
}

.modal-backdrop.show {
  opacity: 0 !important;
}

.swal2-backdrop-show,
.modal-overlay {
  pointer-events: none !important;
}

/* Ensure modal content is above everything */
.modal {
  z-index: 1050 !important;
  pointer-events: none !important;
}

.swal2-container,
[role="dialog"] {
  z-index: 1050 !important;
  pointer-events: none !important;
}

.modal-dialog {
  pointer-events: none !important;
}

.modal-content,
.swal2-popup {
  pointer-events: auto !important;
}

/* Force pointer events on modal content and interactive elements */
.modal-content,
.modal-content *,
.swal2-popup,
.swal2-popup * {
  pointer-events: auto !important;
}

/* Input styling - WHITE BACKGROUND FOR VISIBILITY */
.modal input,
.swal2-container input,
[role="dialog"] input,
.swal2-input,
.swal2-popup input {
  position: relative !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
  background: #ffffff !important;
  border: 3px solid #00d4ff !important;
  color: #0a0e27 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  cursor: text !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}

.modal input:focus,
.swal2-container input:focus,
[role="dialog"] input:focus,
.swal2-input:focus,
.swal2-popup input:focus {
  border-color: #0096c7 !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.3),
    0 0 30px rgba(0, 212, 255, 0.6) !important;
  outline: none !important;
  color: #0a0e27 !important;
}

/* SweetAlert2 specific fixes - MAXIMUM VISIBILITY */
.swal2-popup {
  background: #1a1f3a !important;
  background: linear-gradient(135deg, #1e2545 0%, #2a3055 100%) !important;
  backdrop-filter: blur(20px) !important;
  border: 4px solid #00d4ff !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 0 2px #00d4ff,
    0 0 40px rgba(0, 212, 255, 1),
    0 0 80px rgba(0, 212, 255, 0.8),
    0 20px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 100px rgba(0, 212, 255, 0.15) !important;
  pointer-events: auto !important;
  padding: 3rem !important;
  min-width: 450px !important;
  position: relative !important;
}

.swal2-title {
  color: #00d4ff !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5) !important;
}

.swal2-content,
.swal2-html-container {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.swal2-html-container {
  margin: 1.5rem 0 !important;
}

.swal2-actions {
  margin-top: 2rem !important;
  gap: 1rem !important;
}

.swal2-confirm {
  background: linear-gradient(135deg, #00d4ff, #0096c7) !important;
  border: none !important;
  pointer-events: auto !important;
  padding: 14px 40px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.6) !important;
  transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.8) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #00e4ff, #00a6d7) !important;
}

.swal2-cancel {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  pointer-events: auto !important;
  padding: 14px 40px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.2s ease !important;
}

.swal2-cancel:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Make backdrop much darker */
.swal2-container.swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.92) !important;
}

/* Label styling in modal */
.swal2-popup label {
  color: #0a0e27 !important;
  font-weight: 700 !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
}

/* Remove pointer-events from corner accents on card that might block */
.card-frontend-login::before,
.card-frontend-login::after {
  pointer-events: none !important;
}

/* Two-Factor Authentication Bootstrap Modal Styling */
#2fa-modal .modal-content {
  background: linear-gradient(135deg, #1e2545 0%, #2a3055 100%) !important;
  backdrop-filter: blur(20px) !important;
  border: 3px solid #00d4ff !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 0 2px #00d4ff,
    0 0 40px rgba(0, 212, 255, 0.8),
    0 20px 60px rgba(0, 0, 0, 0.9) !important;
}

#2fa-modal .modal-header {
  background: rgba(0, 212, 255, 0.1) !important;
  border-bottom: 2px solid rgba(0, 212, 255, 0.3) !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 1.5rem !important;
}

#2fa-modal .modal-title {
  color: #00d4ff !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5) !important;
  width: 100% !important;
  text-align: center !important;
}

#2fa-modal .modal-body {
  padding: 2rem !important;
  color: #ffffff !important;
}

#2fa-modal .modal-body .text-center {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.05rem !important;
}

#2fa-modal label {
  color: #00d4ff !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.9rem !important;
}

#2fa-modal input {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 3px solid #00d4ff !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  color: #0a0e27 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: 4px !important;
  margin-bottom: 1.5rem !important;
  cursor: text !important;
}

#2fa-modal input:focus {
  border-color: #0096c7 !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.3),
    0 0 30px rgba(0, 212, 255, 0.6) !important;
  outline: none !important;
}

#2fa-modal .btn {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 14px 24px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

#2fa-modal .btn-success {
  background: linear-gradient(135deg, #00d4ff, #0096c7) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5) !important;
}

#2fa-modal .btn-success:hover {
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.7) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #00e4ff, #00a6d7) !important;
}

#2fa-modal .btn-secondary {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
}

#2fa-modal .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Server select dropdown */
.form-group select[data-select="server"] {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 45px;
}

.form-group select[data-select="server"]:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--gaming-primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
  outline: none;
}

.form-group select[data-select="server"] option {
  background: #0a0e27;
  color: #ffffff;
  padding: 12px;
}

/* Button styling */
.btn {
  position: relative;
  overflow: hidden;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  z-index: 1;
}

#home-user-login {
  background: linear-gradient(135deg, var(--gaming-primary), #0096c7);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

#home-user-login:hover {
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

#home-user-login:active {
  transform: scale(0.98);
}

/* Register button */
.btn-outline-success {
  background: transparent;
  color: #00ff88;
  border: 2px solid #00ff88;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
  transition: all 0.2s ease;
}

.btn-outline-success:hover {
  background: #00ff88;
  color: #0a0e27;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25);
}

.btn-outline-success:active {
  transform: scale(0.98);
}

/* Link styling */
.font-style-underline {
  color: var(--gaming-primary);
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.font-style-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-primary), var(--gaming-accent));
  transition: width 0.3s ease;
}

.font-style-underline:hover {
  color: var(--gaming-accent);
  text-decoration: none;
}

.font-style-underline:hover::after {
  width: 100%;
}

.font-style-underline i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.font-style-underline:hover i {
  transform: translateX(-3px);
}

/* Captcha container */
.custom.my-2 {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.footer code {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer code a {
  color: var(--gaming-primary);
  text-decoration: none;
}

.footer code a:hover {
  color: var(--gaming-accent);
  text-decoration: underline;
}

/* Form appearance - no animation */
.frontend-loadwith-blured {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .login-container-frontpanel .card-body,
  .register-container-frontpanel .card-body {
    padding: 2rem 1.5rem;
  }

  .card-frontend-login .gamecp-login-logo {
    max-width: 150px;
    margin-bottom: 2rem;
  }

  #home-user-login {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Disabled button state */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Grid layout improvements */
.row {
  margin-left: -8px;
  margin-right: -8px;
}

.row > [class*='col-'] {
  padding-left: 8px;
  padding-right: 8px;
}

/* Success/Error messages */
.alert {
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.alert-success {
  border-left: 4px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.alert-danger {
  border-left: 4px solid var(--gaming-accent);
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.2);
}

/* Loading states */
.spinner-border {
  border-color: var(--gaming-primary);
  border-right-color: transparent;
}

/* Enhanced glow on focus */
*:focus {
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 14, 39, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gaming-primary), var(--gaming-secondary));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00b8d4, #6a1ba8);
}

/* Additional gaming elements - corner accents */
.card-frontend-login::after,
.card-frontend-login::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gaming-primary);
  opacity: 0.4;
}

.card-frontend-login::before {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 12px;
}

.card-frontend-login::after {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 12px;
}

/* Text color improvements */
.text-center {
  color: rgba(255, 255, 255, 0.9);
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

/* ============================================
   MODERN DASHBOARD STYLES (Account Information)
   ============================================ */

/* Dashboard Title */
.module-title {
  background: linear-gradient(135deg, var(--gaming-primary), var(--gaming-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Modern Cards */
.theme-dark .card {
  background: rgba(10, 14, 39, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.theme-dark .card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.theme-dark .card .card-header {
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px 16px 0 0;
  padding: 1.25rem 1.5rem;
}

.theme-dark .card .card-header h4 {
  color: var(--gaming-primary);
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

.theme-dark .card .card-body {
  padding: 1.5rem;
}

/* Welcome Card */
.card-welcome-medal {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.card-welcome-medal::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.card-welcome-medal h4 {
  color: #ffffff;
  font-weight: 700;
}

.card-welcome-medal .card-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Badge Styling */
.badge {
  border-radius: 6px;
  padding: 0.35em 0.65em;
  font-weight: 600;
  font-size: 0.75rem;
}

.badge-danger {
  background: linear-gradient(135deg, #ff006e, #d90429);
  box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.badge-warning {
  background: linear-gradient(135deg, #ff9f43, #ff6b35);
  box-shadow: 0 4px 12px rgba(255, 159, 67, 0.3);
}

/* Statistics Card */
.card-statistics .statistics-body {
  padding: 1.5rem;
}

.avatar-content {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gaming-primary), #0096c7);
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.avatar.bg-light-success .avatar-content {
  background: linear-gradient(135deg, #28c76f, #1ea55b);
  box-shadow: 0 4px 12px rgba(40, 199, 111, 0.3);
}

/* Chart Cards */
.chart.card {
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.chart .card-header {
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.chart .card-tools .btn {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--gaming-primary);
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.chart .card-tools .btn:hover {
  background: rgba(0, 212, 255, 0.25);
  border-color: var(--gaming-primary);
}

/* Character Tabs */
.character-tab {
  background: rgba(10, 14, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.character-tab:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--gaming-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.character-tab.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.1));
  border-color: var(--gaming-primary);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.character-tab h5 {
  color: var(--gaming-primary);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.character-tab p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* Tables */
.theme-dark .table {
  color: rgba(255, 255, 255, 0.9);
}

.theme-dark .table-bordered {
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.theme-dark .table-bordered td,
.theme-dark .table-bordered th {
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 1rem;
}

.theme-dark .table tbody tr:hover {
  background: rgba(0, 212, 255, 0.05);
}

/* Status Text Colors */
.text-status-hp {
  color: #ff4757;
  font-weight: 600;
}

.text-status-fp {
  color: #ffa502;
  font-weight: 600;
}

.text-status-sp {
  color: #1e90ff;
  font-weight: 600;
}

/* Equipment Section */
.show-equipment {
  position: relative;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.item-equipment {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Inventory Styling */
.exdeus-inventory-layout {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

/* Nav Tabs */
.theme-dark .nav-tabs {
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.theme-dark .nav-tabs .nav-link {
  color: rgba(255, 255, 255, 0.7);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.theme-dark .nav-tabs .nav-link:hover {
  color: var(--gaming-primary);
  border-bottom-color: rgba(0, 212, 255, 0.5);
}

.theme-dark .nav-tabs .nav-link.active {
  color: var(--gaming-primary);
  background: transparent;
  border-bottom-color: var(--gaming-primary);
  font-weight: 600;
}

/* Accordion */
.theme-dark .accordion-button {
  background: rgba(0, 212, 255, 0.05);
  color: var(--gaming-primary);
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-dark .accordion-button:not(.collapsed) {
  background: rgba(0, 212, 255, 0.15);
  color: var(--gaming-primary);
  box-shadow: inset 0 -1px 0 rgba(0, 212, 255, 0.3);
}

.theme-dark .accordion-button:hover {
  background: rgba(0, 212, 255, 0.1);
}

/* Race Images */
img.races {
  filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.3));
}

/* Responsive Grid */
#dashboard-gamecp .row {
  margin: 0 -12px;
}

#dashboard-gamecp .row > [class*='col-'] {
  padding: 0 12px;
  margin-bottom: 24px;
}

/* Loading Text */
.loading-text-dots {
  color: var(--gaming-primary);
}

/* Media Queries for Dashboard */
@media (max-width: 768px) {
  .card-welcome-medal h4 {
    font-size: 1.25rem;
  }

  .statistics-body .row > div {
    margin-bottom: 1rem;
  }

  .character-tab {
    margin-bottom: 0.5rem;
  }
}

/* ============================================
   MODERN NAVBAR STYLES
   ============================================ */

.theme-dark .navbar {
  background: rgba(10, 14, 39, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 2rem;
}

.theme-dark .navbar-brand {
  color: var(--gaming-primary);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gaming-primary), var(--gaming-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.theme-dark .navbar-brand:hover {
  filter: brightness(1.2);
}

/* Navbar Navigation Links */
.theme-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.theme-dark .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-primary), var(--gaming-accent));
  transition: width 0.3s ease;
}

.theme-dark .navbar-nav .nav-link:hover {
  color: var(--gaming-primary);
  background: rgba(0, 212, 255, 0.1);
}

.theme-dark .navbar-nav .nav-link:hover::before {
  width: 80%;
}

.theme-dark .navbar-nav .nav-link.active {
  color: var(--gaming-primary);
  background: rgba(0, 212, 255, 0.15);
  font-weight: 600;
}

/* Dropdown Menu */
.theme-dark .dropdown-menu {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.theme-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
  background: rgba(0, 212, 255, 0.15);
  color: var(--gaming-primary);
}

.theme-dark .dropdown-item.active {
  background: rgba(0, 212, 255, 0.2);
  color: var(--gaming-primary);
}

.theme-dark .dropdown-divider {
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  margin: 0.5rem 0;
}

/* Navbar Toggler (Mobile) */
.theme-dark .navbar-toggler {
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.theme-dark .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
  outline: none;
}

.theme-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Button Styles */
.theme-dark .navbar .btn {
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.theme-dark .navbar .btn-primary {
  background: linear-gradient(135deg, var(--gaming-primary), #0096c7);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.theme-dark .navbar .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.theme-dark .navbar .btn-outline-primary {
  border: 2px solid var(--gaming-primary);
  color: var(--gaming-primary);
  background: transparent;
}

.theme-dark .navbar .btn-outline-primary:hover {
  background: var(--gaming-primary);
  color: #ffffff;
}

/* Search Bar in Navbar */
.theme-dark .navbar .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  padding: 0.5rem 1rem;
}

.theme-dark .navbar .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gaming-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
  color: #ffffff;
}

.theme-dark .navbar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Navbar Icons */
.theme-dark .navbar .nav-link i,
.theme-dark .navbar .dropdown-item i {
  margin-right: 0.5rem;
  color: var(--gaming-primary);
}

/* User Profile in Navbar */
.theme-dark .navbar .navbar-text {
  color: rgba(255, 255, 255, 0.9);
  margin-right: 1rem;
}

/* Notification Badge */
.theme-dark .navbar .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, var(--gaming-accent), #d90429);
  border-radius: 10px;
  padding: 0.25em 0.5em;
  font-size: 0.65rem;
  box-shadow: 0 2px 8px rgba(255, 0, 110, 0.4);
}

/* Responsive Navbar */
@media (max-width: 991px) {
  .theme-dark .navbar {
    padding: 0.5rem 1rem;
  }

  .theme-dark .navbar-collapse {
    background: rgba(10, 14, 39, 0.98);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
  }

  .theme-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
  }

  .theme-dark .navbar-nav .nav-link::before {
    display: none;
  }
}
