/* ═══════════════════════════════════════════════════════════ */
/* 🎨 GLOBAL STYLES */
/* ═══════════════════════════════════════════════════════════ */

body {
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  color: #1f2937;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📦 CARDS & CONTAINERS */
/* ═══════════════════════════════════════════════════════════ */

.well,
.panel,
.card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08), 0 2px 10px rgba(0,0,0,0.05);
  color: #000 !important;
  transition: 0.3s;
}

.well:hover,
.panel:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12), 0 10px 20px rgba(0,0,0,0.08);
}

.well .well {
  background: #f9fafb !important;
  border-radius: 12px !important;
  padding: 20px !important;
  border: 1px solid #e5e7eb !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📝 FORMS & INPUTS */
/* ═══════════════════════════════════════════════════════════ */

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  transition: 0.2s;
  height: 45px;
}

.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
  color: #111 !important;
}

/* Select Specific */
#method,
select#method {
  background: #000 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🏷️ LABELS & TEXT */
/* ═══════════════════════════════════════════════════════════ */

label {
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🔘 BUTTONS */
/* ═══════════════════════════════════════════════════════════ */

.btn,
.btn-primary,
button.btn-primary {
  background: linear-gradient(45deg, #4f46e5, #6366f1) !important;
  border: none !important;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  color: #fff !important;
  font-size: 14px;
  transition: 0.2s;
  cursor: pointer;
}

.btn:hover,
.btn-primary:hover,
button.btn-primary:hover {
  background: linear-gradient(45deg, #4338ca, #4f46e5) !important;
  transform: translateY(-1px);
}

.btn-primary {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎨 NAVBAR */
/* ═══════════════════════════════════════════════════════════ */

.navbar,
.custom-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand,
.custom-navbar .navbar-brand {
  color: #4f46e5 !important;
  font-weight: bold;
}

.navbar-nav > li > a,
.navbar a {
  color: #111 !important;
  font-weight: 500;
  transition: 0.3s;
  opacity: 1 !important;
  visibility: visible !important;
}

.navbar-nav > li > a:hover {
  color: #4f46e5 !important;
}

.navbar-nav > .active > a {
  background: #4f46e5 !important;
  color: #fff !important;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 💰 BALANCE BADGE */
/* ═══════════════════════════════════════════════════════════ */

.navbar-right .badge,
.navbar-right-block .badge,
.badge {
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  color: #fff !important;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  transition: 0.3s;
}

.navbar-right .badge:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════ */
/* 🔗 NAVBAR RIGHT LINKS */
/* ═══════════════════════════════════════════════════════════ */

.navbar-right a,
.navbar-right-block a {
  color: #000 !important;
  font-weight: 600 !important;
  background: #ffffff !important;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.2s;
}

.navbar-right a:hover,
.navbar-right-block a:hover {
  background: #4f46e5 !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📱 SIDEBAR */
/* ═══════════════════════════════════════════════════════════ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: #ffffff !important;
  border-right: 1px solid #e5e7eb;
  padding: 15px;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 999;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎯 SIDEBAR ITEMS */
/* ═══════════════════════════════════════════════════════════ */

.sidebar .sidebar-sections {
  padding: 10px;
}

.sidebar .side-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
}

.sidebar .card-title {
  font-size: 13px;
  font-weight: bold;
  color: #6b7280;
  margin-bottom: 10px;
}

.sidebar .side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  margin-bottom: 6px;
  background: #ffffff;
  transition: 0.2s;
}

.sidebar .side-link:hover {
  background: #f3f4f6;
  color: #4f46e5;
}

.sidebar .side-link.active {
  background: #4f46e5;
  color: #fff;
  font-weight: bold;
}

.sidebar .icon-box {
  width: 30px;
  height: 30px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar .logout {
  color: #ef4444;
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📄 MAIN CONTENT */
/* ═══════════════════════════════════════════════════════════ */

.main-content {
  margin-left: 250px;
  transition: 0.3s;
  padding: 15px;
}

.sidebar.closed + .main-content {
  margin-left: 70px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎖️ TOP WELCOME BAR */
/* ═══════════════════════════════════════════════════════════ */

.top-welcome-bar {
  width: 90%;
  margin: 15px auto;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

/* ═══════════════════════════════════════════════════════════ */
/* 🆕 NEW ORDER / FORM SECTIONS */
/* ═══════════════════════════════════════════════════════════ */

.custom-neworder .well {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-neworder .form-control {
  background: #ffffff;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px;
}

.custom-neworder .form-group {
  margin-bottom: 15px;
}

.custom-neworder label {
  color: #6b7280;
  font-weight: 600;
}

.custom-neworder .btn-primary {
  background: linear-gradient(45deg, #4f46e5, #6366f1);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  width: 100%;
  padding: 12px;
}

.custom-neworder .btn-primary:hover {
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📖 SERVICE DESCRIPTION */
/* ═══════════════════════════════════════════════════════════ */

#service_description {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  color: #111;
  line-height: 1.8;
  font-size: 14px;
  animation: fadeInUp 0.5s ease;
  transition: 0.3s;
}

#service_description:hover {
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.15);
  transform: translateY(-3px);
}

#service_description .panel-body {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #111;
  padding: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.custom-neworder .well h4 {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎴 TOP CARDS */
/* ═══════════════════════════════════════════════════════════ */

.custom-top-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.card-box {
  flex: 1;
  background: #ffffff;
  padding: 15px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
  transition: 0.3s;
}

.card-box strong {
  display: block;
  color: #4f46e5;
  font-size: 16px;
}

.card-box span {
  color: #6b7280;
  font-size: 12px;
}

.card-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}

/* ═══════════════════════════════════════════════════════════ */
/* 🏷️ CATEGORY BUTTONS */
/* ═══════════════════════════════════════════════════════════ */

.custom-category-buttons,
.custom-neworder .cat-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cat-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 13px;
  font-weight: 500;
}

.cat-btn:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

.cat-btn.active {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📊 TABLES */
/* ═══════════════════════════════════════════════════════════ */

.table {
  background: #ffffff !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.table thead {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
}

.table thead th {
  color: #fff !important;
  border: none !important;
  font-weight: bold;
  padding: 12px;
}

.table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: 0.2s;
}

.table tbody tr:hover {
  background: #f9fafb;
}

.table td {
  color: #111 !important;
  border: none !important;
  padding: 12px;
}

.table td a {
  color: #4f46e5;
  text-decoration: none;
  transition: 0.2s;
}

.table td a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🏷️ STATUS BADGES */
/* ═══════════════════════════════════════════════════════════ */

.status-completed {
  background: #22c55e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.status-pending {
  background: #f59e0b;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎯 ORDER TABS */
/* ═══════════════════════════════════════════════════════════ */

.orders-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.orders-tabs .btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  transition: 0.2s;
}

.orders-tabs .btn.active,
.orders-tabs .btn:hover {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: #fff;
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📱 SELECT2 DROPDOWN */
/* ═══════════════════════════════════════════════════════════ */

.select2-container--default .select2-selection--single {
  height: 50px;
  border-radius: 12px;
  border: 1px solid #e5e7eb !important;
  display: flex;
  align-items: center;
}

.select2-selection__rendered {
  font-size: 15px;
  color: #111 !important;
  line-height: 50px;
}

.select2-container--default .select2-dropdown {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

.select2-results__option {
  color: #111 !important;
  padding: 10px !important;
  border-radius: 4px;
  transition: 0.2s;
}

.select2-results__option--highlighted {
  background: linear-gradient(90deg, #4f46e5, #6366f1) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📌 DROPDOWNS */
/* ═══════════════════════════════════════════════════════════ */

.dropdown-menu {
  max-height: 300px !important;
  overflow-y: auto !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  padding: 5px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dropdown-menu li a {
  color: #111 !important;
  padding: 8px 10px !important;
  display: block;
  border-radius: 8px;
  transition: 0.2s;
}

.dropdown-menu li a:hover {
  background: linear-gradient(90deg, #4f46e5, #6366f1) !important;
  color: #fff !important;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #4f46e5;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 📱 MOBILE TOGGLE BUTTON */
/* ═══════════════════════════════════════════════════════════ */

.mobile-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #4f46e5;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 8px;
  z-index: 9999;
  display: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
  transition: 0.2s;
}

.mobile-toggle:hover {
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.8);
}

/* ═══════════════════════════════════════════════════════════ */
/* 💬 ALERTS & NOTIFICATIONS */
/* ═══════════════════════════════════════════════════════════ */

.alert {
  border-radius: 10px;
  border: 1px solid transparent;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* ═══════════════════════════════════════════════════════════ */
/* 🔐 LOGIN PAGE */
/* ═══════════════════════════════════════════════════════════ */

.signin-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 120px 80px;
}

.signin-left {
  width: 50%;
}

.signin-left h1 {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 40px;
}

.signin-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

.login-card .form-control {
  background: #f3f4f6;
  border: none;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 15px;
}

.login-card .btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  color: #fff;
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  font-weight: bold;
}

.login-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.login-icons i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: 0.3s;
  cursor: pointer;
}

.login-icons .fa-facebook { background: #1877f2; }
.login-icons .fa-instagram { background: #e1306c; }
.login-icons .fa-tiktok { background: #000; }
.login-icons .fa-youtube { background: #ff0000; }
.login-icons .fa-telegram { background: #0088cc; }
.login-icons .fa-spotify { background: #1db954; }

.login-icons i:hover {
  transform: scale(1.1) translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════ */
/* 🎨 RESPONSIVE - MOBILE */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Sidebar */
  .sidebar {
    left: -250px;
    width: 250px;
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    margin-left: 0;
  }

  /* Mobile Toggle */
  .mobile-toggle {
    display: block !important;
  }

  /* Navbar */
  .navbar-left-block {
    display: none !important;
  }

  .navbar {
    font-size: 12px;
  }

  /* Forms */
  .custom-neworder .well {
    padding: 15px;
    margin: 10px;
  }

  .custom-neworder .col-md-6 {
    width: 100% !important;
  }

  /* Welcome Bar */
  .top-welcome-bar {
    font-size: 12px;
    padding: 8px 10px;
    text-align: center;
    line-height: 1.4;
  }

  /* Cards */
  .custom-top-cards {
    flex-direction: column;
  }

  .card-box {
    width: 100%;
  }

  /* Categories */
  .cat-btn {
    flex: 1 1 45%;
    text-align: center;
  }

  /* Table */
  .table {
    display: block;
    overflow-x: auto;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e5e7eb;
  }

  .table tbody td {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: none;
  }

  .table tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #6b7280;
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
  }

  /* Login */
  .signin-container {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .signin-left,
  .signin-right {
    width: 100%;
  }

  .signin-left h1 {
    font-size: 26px;
  }

  .signin-right {
    margin-top: 30px;
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .login-icons i {
    font-size: 18px;
    width: 45px;
    height: 45px;
  }

  /* Container */
  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

}

/* ═══════════════════════════════════════════════════════════ */
/* 🎁 UTILITY CLASSES */
/* ═══════════════════════════════════════════════════════════ */

.hidden {
  display: none !important;
}

.transition {
  transition: all 0.3s ease;
}