/* ===================================
   YELLOW & BLACK THEME
   Eye-catching color scheme for CTC POS
   =================================== */

:root {
  --primary-yellow: #FFC107;
  --primary-yellow-dark: #FFA000;
  --primary-yellow-light: #FFECB3;
  --primary-black: #212121;
  --secondary-black: #424242;
  --text-black: #1a1a1a;
  --white: #ffffff;
}

/* ===================================
   Header/Navbar Styling
   =================================== */

.navbar {
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.navbar-brand-wrapper {
  background: var(--primary-black) !important;
}

/* Company name styling */
.brand-logo-text {
  color: var(--primary-yellow) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-logo-mini-text {
  color: var(--primary-yellow) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Menu toggle button */
.navbar-toggler {
  color: var(--primary-yellow) !important;
}

.navbar-toggler span {
  color: var(--primary-yellow) !important;
}

/* ===================================
   Quick Stats in Header
   =================================== */

.navbar-quick-stats .stat-value {
  color: var(--primary-black) !important;
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-quick-stats .stat-label {
  color: #e0e0e0 !important;
}

.navbar-quick-stats .stat-divider {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================
   Profile Section
   =================================== */

.navbar-nav-right .nav-profile img {
  border: 3px solid var(--primary-yellow) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  object-fit: cover !important;
}

.navbar-nav-right .nav-profile-name {
  color: var(--primary-black) !important;
  background: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-nav-right .nav-profile .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-nav-right .nav-profile .nav-link:hover {
  background-color: rgba(255, 193, 7, 0.1) !important;
  border-radius: 25px;
}

/* ===================================
   POS Button Grid - Yellow & Black
   =================================== */

.pos-button-tile.color-purple,
.pos-button-tile.color-blue,
.pos-button-tile.color-green,
.pos-button-tile.color-orange,
.pos-button-tile.color-red,
.pos-button-tile.color-teal,
.pos-button-tile.color-pink,
.pos-button-tile.color-indigo,
.pos-button-tile.color-cyan {
  /* Reset all gradients to yellow-black theme */
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3) !important;
}

.pos-button-tile:hover {
  box-shadow: 0 20px 50px rgba(255, 193, 7, 0.5) !important;
}

/* Alternate black tiles for variety */
.pos-button-tile:nth-child(even) {
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.pos-button-tile:nth-child(even):hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

/* Button text always white for contrast */
.pos-button-title,
.pos-button-subtitle,
.pos-button-icon {
  color: var(--white) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===================================
   Pagination Buttons
   =================================== */

.pos-nav-btn {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4) !important;
  color: var(--primary-black) !important;
  font-weight: 700 !important;
}

.pos-nav-btn:hover {
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6) !important;
  transform: translateY(-3px);
}

.pos-nav-btn:disabled {
  background: linear-gradient(135deg, #757575 0%, #616161 100%) !important;
  color: #bdbdbd !important;
}

.pos-page-info {
  color: var(--text-black) !important;
  font-weight: 700 !important;
}

/* ===================================
   Sidebar - COMPLETELY HIDDEN
   =================================== */

/* Hide sidebar on all pages */
.sidebar {
  display: none !important;
}

.sidebar-offcanvas {
  display: none !important;
}

/* Make main panel full width without sidebar */
.main-panel {
  width: 100% !important;
  margin-left: 0 !important;
  max-width: 100% !important;
}

.page-body-wrapper {
  padding-left: 0 !important;
}

/* Remove sidebar toggle button */
.navbar-toggler[data-toggle="minimize"] {
  display: none !important;
}

/* ===================================
   Online Status Badge
   =================================== */

#online-status.online {
  background: var(--primary-yellow) !important;
  color: var(--primary-black) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.5) !important;
}

#online-status.offline {
  background: var(--primary-black) !important;
  color: var(--white) !important;
  border: 2px solid var(--primary-yellow) !important;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--primary-black) !important;
}

.footer .card {
  background: var(--primary-black) !important;
}

.footer a {
  color: var(--primary-yellow) !important;
}

.footer a:hover {
  color: var(--primary-yellow-light) !important;
  text-decoration: underline;
}

.footer .text-muted {
  color: #bdbdbd !important;
}

/* ===================================
   Cards and Content
   =================================== */

.content-wrapper {
  background: #f8f9fa !important;
}

.card {
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* ===================================
   Buttons (General)
   =================================== */

.btn-primary {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
  border: none !important;
  color: var(--primary-black) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-yellow-dark) 0%, var(--primary-yellow) 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.5) !important;
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--primary-black) !important;
  border: 2px solid var(--primary-yellow) !important;
  color: var(--primary-yellow) !important;
}

.btn-danger:hover {
  background: var(--primary-yellow) !important;
  color: var(--primary-black) !important;
}

/* ===================================
   Links
   =================================== */

a {
  color: var(--primary-yellow-dark) !important;
}

a:hover {
  color: var(--primary-yellow) !important;
}

/* ===================================
   Headings with Yellow Accent
   =================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-black) !important;
}

h1::before, h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--primary-yellow);
  margin-right: 10px;
  vertical-align: middle;
}

/* ===================================
   Dropdown Menus
   =================================== */

.dropdown-menu {
  background: var(--white) !important;
  border: 2px solid var(--primary-yellow) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-item {
  color: var(--text-black) !important;
}

.dropdown-item:hover {
  background: var(--primary-yellow-light) !important;
  color: var(--text-black) !important;
}

.dropdown-divider {
  border-top: 1px solid rgba(255, 193, 7, 0.3) !important;
}

/* ===================================
   Scrollbar Styling
   =================================== */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-yellow-dark);
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 991px) {
  .navbar {
    background: var(--primary-black) !important;
  }
}

/* ===================================
   Animation: Yellow Glow Effect
   =================================== */

@keyframes yellowGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.8);
  }
}

.pos-button-tile:hover .pos-button-icon {
  animation: yellowGlow 2s infinite;
}

/* ===================================
   Special Highlight for Important Items
   =================================== */

.highlight-yellow {
  background: var(--primary-yellow-light) !important;
  border-left: 4px solid var(--primary-yellow) !important;
  padding: 10px !important;
}

/* ===================================
   Loading Spinner (Yellow)
   =================================== */

.spinner-border {
  border-color: var(--primary-yellow) !important;
  border-right-color: transparent !important;
}

