/* ==========================================================================
   ULTRA MODERN & LUXURIOUS VIBRANT ENHANCEMENT SYSTEM (2026 EDITION)
   Adds High-End Visual Beauty, Glassmorphism, Micro-Animations & Sleek Cards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --modern-font: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display-font: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --mono-font: 'JetBrains Mono', 'Outfit', monospace;
  
  --primary-indigo: #6366f1;
  --primary-violet: #8b5cf6;
  --primary-cyan: #00f2fe;
  
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --cyan-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --danger-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  
  --card-radius: 18px;
  --input-radius: 14px;
  --btn-radius: 14px;
}

/* --- 1. GLOBAL HARDWARE ACCELERATION & ZERO-LAG --- */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

/* --- 2. PC DESKTOP LAYOUT FULL WIDTH FIX (PREVENTS DESKTOP MOBILE-SHRINKING) --- */
@media (min-width: 992px) {
  .page-container,
  .page-width,
  .container,
  .main-content,
  #imeiorder_form,
  .service-list-box {
    max-width: 1400px !important;
    width: 100% !important;
  }

  .mw-360, .col.mw-360 {
    max-width: none !important;
    width: auto !important;
  }

  .row.group {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .col-left {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }

  .col-right {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  .placeorder, .placeorder2, #placedirectorder {
    width: auto !important;
    min-width: 220px !important;
  }
}

/* --- 3. IMEI & INPUT STYLING --- */
.input-imei input, 
#imei1, 
#imei2,
#imei_bulk, 
#imei_custom {
  font-family: var(--mono-font) !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
}

/* Touch & Click Instant Feedback on Buttons */
.btn-primary, 
button.btn-primary, 
.placeorder, 
.placeorder2, 
.loginbuttons, 
#placedirectorder {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  cursor: pointer !important;
}

.btn *, button *, a.btn *, .placeorder *, .loginbuttons * {
  pointer-events: none !important;
}

/* --- 4. LOGGED-IN SPECIFIC DARK MODE COLOR ENHANCEMENTS --- */
body.user-logged-in.dark {
  color: #ffffff !important;
  background-color: #030712 !important;
}

body.user-logged-in.dark .card,
body.user-logged-in.dark .card-product,
body.user-logged-in.dark .box,
body.user-logged-in.dark .panel {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
}

body.user-logged-in.dark #imei1,
body.user-logged-in.dark #imei2,
body.user-logged-in.dark #imei_bulk,
body.user-logged-in.dark #imei_custom {
  background: rgba(15, 23, 42, 0.88) !important;
  color: #00f2fe !important;
  border: 2px solid rgba(0, 242, 254, 0.45) !important;
}

body.user-logged-in.dark #comments,
body.user-logged-in.dark #notes {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.45) !important;
  color: #ffffff !important;
}

/* --- 5. COMPACT LOGIN FORM MODAL ONLY --- */
.page-login .card,
.login-panel, 
.card.fieldoflogin, 
#login .modal-dialog {
  max-width: 440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
