/* ============================================================
   ADDON-RESPONSIVE.CSS
   Enhancements for adaptive layout and better mobile UX
   ============================================================ */

/* ----- General tweaks ----- */
body {
  overflow-x: hidden;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, label {
  word-wrap: break-word;
}

/* Ensure images shrink gracefully */
img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   NAVBAR & HEADER
   ============================================================ */
@media (max-width: 1024px) {
  .nav {
    padding: 0 1rem;
  }
  .logo img {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-center {
    display: none;
  }

  #nav-menu.active {
    display: flex;
    flex-direction: column;
    background: #1c0033;
    position: absolute;
    width: 100%;
    z-index: 1001;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .login-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    border-radius: 0;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    max-height: 200px;
  }
}

/* ============================================================
   REGISTER SECTION
   ============================================================ */
@media (max-width: 992px) {
  .register {
    flex-direction: column;
    width: 100%;
    padding: 25px;
    text-align: center;
  }

  .left, .right {
    flex: none;
    width: 100%;
  }

  .left h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .option {
    justify-content: center;
  }

  .option-text h2 {
    font-size: 1rem;
  }

  .character {
    width: 200px;
  }

  .ui-blue,
  .ui-yellow {
    display: none;
  }
}

/* Progress bar spacing fix */
@media (max-width: 768px) {
  .progress-container {
    padding: 20px 10px;
  }

  .progress-bar {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .step {
    font-size: 16px;
    padding-top: 0;
  }

  .step::before {
    display: none;
  }
}

/* ============================================================
   FORM CONTAINERS
   ============================================================ */
@media (max-width: 768px) {
  .form-container, .registerform, .loginform {
    padding: 20px;
    margin: 6rem auto 2rem;
    width: 95%;
  }

  .input-row {
    flex-direction: column;
  }

  .input-field {
    flex-basis: 100%;
    width: 100%;
  }

  .btn-save {
    width: 100%;
    padding: 0.9rem;
  }
}

/* ============================================================
   BEST SELLERS / CARDS / PACKS
   ============================================================ */
@media (max-width: 768px) {
  .section-content, .packs-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .card, .pack-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pack-card img {
    max-height: 180px;
  }
}

/* ============================================================
   FOOTER SECTION
   ============================================================ */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter {
    text-align: center;
  }

  .newsletter h3 {
    margin-left: 0;
  }

  .social-links {
    justify-content: center;
  }
}

/* ============================================================
   HOW-IT-WORKS SECTION
   ============================================================ */
@media (max-width: 768px) {
  .start {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .left {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .left h1 {
    font-size: 1.8rem;
  }

  .left h2 {
    font-size: 1.3rem;
  }

  .box-image {
    flex-direction: column;
    align-items: center;
  }

  .box-image img {
    margin-top: 0;
    width: 90%;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .footer-buttons img {
    height: 250px;
  }
}

/* ============================================================
   FINAL SMALL DEVICE POLISH
   ============================================================ */
@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.3rem;
  }

  .btn-save {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .loginform h2.card-title {
    font-size: 1.2rem;
  }
}


/* ===============================
   PACKS-GRID RESPONSIVE ENHANCEMENT
   =============================== */

/* Center content horizontally and vertically */
.packs-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Navigation buttons */
.pack-nav {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: white;
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.pack-nav:hover,
.pack-nav:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Cards layout */
.pack-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  min-width: 200px;
  max-width: 250px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.pack-card:hover {
  transform: translateY(-5px);
}

.pack-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Responsive Layout Adjustments */
@media (max-width: 992px) {
  .packs-grid {
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .pack-card {
    min-width: 180px;
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .packs-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pack-nav {
    order: -1; /* move buttons above cards */
    margin-bottom: 1rem;
  }

  .pack-card {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .pack-card img {
    height: 180px !important;
  }

  .pack-card h3 {
    font-size: 1rem;
  }

  .pack-nav {
    padding: 0.6rem;
  }
}



/* Dashboard-specific styling, no Bootstrap used */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  color: white;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}

.sidebar h2 {
  color: #00d4ff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.sidebar a {
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: background 0.3s ease;
  text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.1);
}

/* Top Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(26, 10, 58, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar .user-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00d4ff;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

/* Table */
.table-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.table-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th,
.table-card td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.table-card th {
  color: #ffcc00;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Form */
.form-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.form-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
}

.form-group label {
  color: #ccc;
  font-weight: 500;
}

input[type="text"],
select {
  width: 100%;
  background: transparent;
  border: 1.5px solid #6f42c1;
  border-radius: 6px;
  color: #fff;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.btn-save {
  background: #ce4c72;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-save:hover {
  background: #b03f61;
}

/* Responsive Sidebar */
@media (max-width: 992px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 100;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .toggle-sidebar {
    display: inline-block;
    cursor: pointer;
    color: #00d4ff;
  }
}


/* =======================================================
   LIGHTWEIGHT RESPONSIVE GRID SYSTEM
   Compatible with addon.css (no conflicts)
   ======================================================= */

/* Container: centers content */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Row: flex container */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  box-sizing: border-box;
}

/* Column base: responsive flex */
[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  flex: 1 1 100%;
}

/* ------- Responsive Breakpoints ------- */

/* Small devices (≥576px) */
@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Extra Large (≥1200px) */
@media (min-width: 1200px) {
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}


/* ==========================================================
   DASHBOARD ROW & COLUMN FIX + CONTENT SPACING
   ========================================================== */

/* Container that holds your main content area */
.dashboard-wrapper {
  display: flex;
  flex-wrap: nowrap;
  min-height: 100vh;
  color: #fff;
  padding-top: 80px; /* space below navbar */
  box-sizing: border-box;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 100vh;
  box-sizing: border-box;
}

.sidebar h2 {
  font-size: 1.4rem;
  color: #00d4ff;
  margin-bottom: 2rem;
}

.sidebar a {
  color: #fff;
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  transition: background 0.3s;
  text-decoration: none;
}
.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.1);
}

/* Fix row/col layout inside dashboard */
.dashboard-content {
  flex: 1;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Proper row behavior */
.dashboard-content .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* space between two cols */
  gap: 20px;
  margin-top: 30px;
}

/* Column base */
.dashboard-content [class*="col-"] {
  box-sizing: border-box;
  padding: 0;
}

/* Two columns side by side on medium screens and up */
@media (min-width: 768px) {
  .dashboard-content .col-md-6 {
    flex: 0 0 calc(50% - 10px); /* 2 columns with 20px gap total */
    max-width: calc(50% - 10px);
  }
}

/* Stack on small screens */
@media (max-width: 767px) {
  .dashboard-content .col-md-6 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Column Base */
[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  flex: 1 1 100%;
}

/* ===============================
   RESPONSIVE GRID BREAKPOINTS
   =============================== */

/* Small (≥576px) */
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-sm-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-sm-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Medium (≥768px) */
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-md-3 { flex: 0 0 24%; max-width: 24%; }
  .col-md-4 { flex: 0 0 32.3333%; max-width: 32.3333%; }
  .col-md-5 { flex: 0 0 40.6667%; max-width: 40.6667%; }
  .col-md-6 { flex: 0 0 49%; max-width: 49%; }
  .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-9 { flex: 0 0 70%; max-width: 70%; }
  .col-md-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-md-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Large (≥992px) */
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-lg-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* XL (≥1200px) */
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-xl-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-xl-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-xl-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-xl-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Small screens stack */
@media (max-width: 575px) {
  .row {
    flex-direction: column;
  }

  [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ==========================================================
   WELCOME BANNER STYLING
   ========================================================== */

.welcome-banner {
  background: linear-gradient(135deg, rgba(206, 76, 114, 0.3), rgba(111, 66, 193, 0.3));
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.welcome-text{margin-bottom: 0px;}
.welcome-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}



/* Optional floating animation for subtle premium look */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.welcome-banner {
  animation: float 5s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .welcome-text h1 {
    font-size: 1.5rem;
  }

  .welcome-text p {
    font-size: 0.9rem;
  }
}


/* ==========================================================
   THEME BUTTONS (Bootstrap-Compatible, Non-Conflict)
   ========================================================== */

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #6f42c1, #ce4c72);
  padding: 0.6rem 1.5rem;
}

.btn:hover {
  background: linear-gradient(135deg, #ce4c72, #6f42c1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(206, 76, 114, 0.3);
}

/* Button sizes */
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  border-radius: 25px;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.125rem;
  border-radius: 35px;
}

/* Button color variations */
.btn-primary {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  box-shadow: 0 4px 10px rgba(0, 183, 255, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #06d6a0, #04b97f);
}

.btn-success:hover {
  background: linear-gradient(135deg, #04b97f, #06d6a0);
}

.btn-danger {
  background: linear-gradient(135deg, #ef476f, #d62828);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #d62828, #ef476f);
}

.btn-warning {
  background: linear-gradient(135deg, #ffba08, #faa307);
  color: #222;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #faa307, #ffba08);
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
}

.btn-outline:hover {
  background: #00b4d8;
  color: #fff;
}


/* ==========================================================
   BOOTSTRAP-STYLE TABLE (Dashboard Dark Theme)
   ========================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  color: #e5e5e5;
  background-color: transparent;
  font-size: 0.95rem;
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ffcc00;
  font-weight: 700;
}

/* Bordered table */
.table-bordered {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Striped rows */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.04);
}

/* Hover effect */
.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

/* Compact table */
.table-sm th,
.table-sm td {
  padding: 0.5rem 0.75rem;
}

/* Rounded corners inside a card */
.table-card {
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

/* Table heading title */
.table-card h3 {
  color: #00d4ff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Responsive scrolling */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
}

/* Action buttons inside table */
.table .btn {
  border: none;
  border-radius: 25px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.table .btn-primary {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.table .btn-primary:hover {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
}

.table .btn-danger {
  background: linear-gradient(135deg, #ef476f, #d62828);
}

.table .btn-danger:hover {
  background: linear-gradient(135deg, #d62828, #ef476f);
}

select {
 background: #221640;
  border: 1px solid #6f42c1;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 15px;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}
select:hover {
  background: #221640;
  border-color: #6f42c1;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.upload-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.dropzone-area {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfdfd, #f9fafb);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dropzone-area:hover,
.dropzone-area.active {
  border-color: #0d6efd;
  background: #f0f7ff;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
  transform: translateY(-2px);
}

.dz-content {
  color: #475569;
}

.dz-icon {
  font-size: 48px;
  color: #0d6efd;
  opacity: 0.85;
  margin-bottom: 10px;
}

.dz-text {
  font-size: 1rem;
  margin: 0;color: #333
}

.browse-link {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.text-muted {
  font-size: 0.875rem;
}

@media (max-width: 576px) {
  .dropzone-area {
    padding: 30px 15px;
  }
  .dz-icon {
    font-size: 40px;
  }
}

.upload-wrapper .fas{    color: #00d4ff!important;}
.upload-wrapper input{    color: #333 !important;}