/* =====================
   MAIN.CSS (GABUNGAN) - CLEANED & DEDUPLICATED
   ===================== */

/* =====================
   custom.css
   ===================== */
/* ==========================================================================
   CUSTOM CSS - AIRLINK USER INTERFACE
   ========================================================================== */

/* ==========================================================================
   FONTS & BASE STYLES
   ========================================================================== */
body, * {
  font-family: "Nunito", "Rubik", "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  font-weight: 400;
}

body {
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html, body {
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */
.container-wrapper {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Profile page specific container - REMOVED (not used) */

.content {
  padding: 15px;
  flex-grow: 1;
  overflow-y: auto;
  padding-top: 4rem; /* Memberikan ruang untuk header fixed */
  padding-bottom: 5rem; /* Memberikan ruang untuk bottom nav fixed */
  -webkit-overflow-scrolling: touch; /* Untuk smooth scrolling di iOS */
  scroll-behavior: smooth;
}

/* Profile page specific content - REMOVED (not used) */

/* ==========================================================================
   HEADER COMPONENTS
   ========================================================================== */
.top-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  z-index: 1030;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #343a40;
}

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */
.custom-card {
  color: white;
  border-radius: 1rem;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: cover;
  width: 100%;
  overflow-x: visible !important;
  overflow-y: visible !important;
  box-sizing: border-box;
}

.custom-card.change-password-card {
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.custom-card.change-password-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.badge {
  position: relative;
  border: 2px solid #198754;
  border-radius: 1rem;
  padding: 5px 10px;
  box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
}

hr {
  border: none;
  border-top: 2px dashed #ffffff;
  margin: 10px 0;
}

/* ==========================================================================
   NAVIGATION COMPONENTS
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  z-index: 1050;
  border: 1px solid #dee2e6;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom: none;
  background: #fff;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.bottom-nav a {
  color: grey;
}

.bottom-nav a:hover {
  color: #494949;
  text-decoration: none;
}

.bottom-nav a.active {
  color: #72b1ce;
}

/* ==========================================================================
   SCROLL COMPONENTS
   ========================================================================== */
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  flex: 0 0 auto;
  height: 155px;
  scroll-snap-align: center;
  width: 85vw;
  max-width: 340px;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  position: relative;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.scroll-card h5 {
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.scroll-card p {
  margin: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   BUTTON COMPONENTS
   ========================================================================== */
.glass-btn {
  margin-top: 0.75rem;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

/* ==========================================================================
   BOTTOM SHEET COMPONENTS
   ========================================================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.623);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: -100%;
  width: 100%;
  max-width: 450px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 15px 15px 0 0;
  z-index: 1050;
  transition: bottom 0.3s ease, transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.bottom-sheet:active {
  cursor: grabbing;
}

.bottom-sheet.active {
  bottom: 0;
}

.bottom-sheet.dragging {
  animation: none !important;
}

.bottom-sheet-header {
  padding: 15px 0 10px 0;
  display: flex;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
  flex-shrink: 0;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

.bottom-sheet-header:active {
  cursor: grabbing;
}

.bottom-sheet-header * {
  border: none !important;
}

.drag-indicator {
  width: 40px;
  height: 4px;
  background-color: #dee2e6;
  border-radius: 2px;
  transition: background-color 0.2s ease;
  border: none !important;
}

.bottom-sheet-header:hover .drag-indicator {
  background-color: #adb5bd;
}

.bottom-sheet-content,
.bottom-sheet-content * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.bottom-sheet-content::-webkit-scrollbar,
.bottom-sheet-content *::-webkit-scrollbar {
  display: none !important;
}

.bottom-sheet-content button,
.bottom-sheet-content input,
.bottom-sheet-content label {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.bottom-sheet-content button:hover,
.bottom-sheet-content input:hover,
.bottom-sheet-content label:hover {
  cursor: pointer;
}

.bottom-sheet-content h5, 
.bottom-sheet-content h6 {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.bottom-sheet-content span, 
.bottom-sheet-content p, 
.bottom-sheet-content label {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #222;
  text-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* ==========================================================================
   PAYMENT COMPONENTS
   ========================================================================== */
#payment-content {
  overflow-y: auto;
  max-height: 60vh;
}

#payment-content .text-success {
  color: #198754 !important;
}

#payment-content .text-danger {
  color: #dc3545 !important;
}

#payment-content .btn {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

#payment-content .spinner-border {
  width: 3rem;
  height: 3rem;
}

.payment-result {
  max-height: 60vh;
  overflow-y: auto;
  margin: 0rem 1rem;
}

.payment-result img {
  max-width: 100%;
  height: auto;
}

.payment-result .btn {
  margin: 0.25rem;
}

.payment-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.payment-info .fw-bold, 
.payment-info .text-danger, 
.payment-info .text-primary {
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.payment-methods {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.payment-option:hover {
  background-color: #e9ecef;
}

.payment-option input[type="radio"] {
  margin-right: 12px;
  transform: scale(1.2);
}

.payment-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  margin: 0;
}

.payment-label i {
  margin-right: 10px;
  font-size: 1.2rem;
}
/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes bounceInUp {
  0% {
    bottom: -100%;
    animation-timing-function: ease-in;
  }
  60% {
    bottom: 20px;
    animation-timing-function: ease-out;
  }
  80% {
    bottom: -10px;
    animation-timing-function: ease-in;
  }
  100% {
    bottom: 0;
    animation-timing-function: ease-out;
  }
}

.bottom-sheet.animate-bounce {
  animation: bounceInUp 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes fadeInUpCard {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRightCard {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
.fade-in-card {
  opacity: 0;
  animation: fadeInUpCard 0.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
  animation-delay: 0.12s;
}
.fade-in-card.animated-done, .fade-in-card[style*="animation-play-state: paused"] {
  opacity: 1 !important;
}
.fade-in-card:nth-child(1) { animation-delay: 0.12s; }
.fade-in-card:nth-child(2) { animation-delay: 0.22s; }
.fade-in-card:nth-child(3) { animation-delay: 0.32s; }
.fade-in-card:nth-child(4) { animation-delay: 0.42s; }
.fade-in-card:nth-child(5) { animation-delay: 0.52s; }
.fade-in-card:nth-child(6) { animation-delay: 0.62s; }
.fade-in-card:nth-child(7) { animation-delay: 0.72s; }
.fade-in-card:nth-child(8) { animation-delay: 0.82s; }
.fade-in-card:nth-child(9) { animation-delay: 0.92s; }
.fade-in-card:nth-child(10) { animation-delay: 1.02s; }
.fade-in-card:nth-child(11) { animation-delay: 1.12s; }
.fade-in-card:nth-child(12) { animation-delay: 1.22s; }
.fade-in-card:nth-child(13) { animation-delay: 1.32s; }
.fade-in-card:nth-child(14) { animation-delay: 1.42s; }
.fade-in-card:nth-child(15) { animation-delay: 1.52s; }
.fade-in-card:nth-child(16) { animation-delay: 1.62s; }
.fade-in-card:nth-child(17) { animation-delay: 1.72s; }
.fade-in-card:nth-child(18) { animation-delay: 1.82s; }
.fade-in-card:nth-child(19) { animation-delay: 1.92s; }
.fade-in-card:nth-child(20) { animation-delay: 2.02s; }
.slide-in-right-card {
  opacity: 0;
  animation: slideInRightCard 0.7s cubic-bezier(.68,-0.55,.27,1.55) both;
}
/* Staggered delay untuk scroll-card */
.slide-in-right-card:nth-child(1) { animation-delay: 0.15s; }
.slide-in-right-card:nth-child(2) { animation-delay: 0.28s; }
.slide-in-right-card:nth-child(3) { animation-delay: 0.41s; }
.slide-in-right-card:nth-child(4) { animation-delay: 0.54s; }
.slide-in-right-card:nth-child(5) { animation-delay: 0.67s; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (min-width: 768px) {
  .scroll-card {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  /* Profile responsive styles - REMOVED (not used) */
}

@media (max-width: 450px) {
  .bottom-sheet {
    max-width: 100%;
    left: 0 !important;
    transform: none;
  }
  
  .top-header {
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
  }
  
  .bottom-nav {
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
  }
  
  .container-wrapper {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 600px) {
  .custom-card,
  .change-password-card {
    max-width: 100vw;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
}

/* Change Password Card - Improved */
.change-password-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(85,172,255,0.10), 0 1.5px 8px rgba(118,75,162,0.07);
  max-width: 410px;
  width: 100%;
  padding: 1rem;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.change-password-title {
  font-weight: 700;
  color: #2d3a4a;
  letter-spacing: 0.5px;
  margin-bottom: 1.8rem !important;
}

.change-password-card .form-label {
  font-weight: 500;
  color: #495057;
}

.change-password-card .input-group {
  border-radius: 10px;
  background: #f8fafd;
  box-shadow: 0 1px 2px rgba(85,172,255,0.03);
  transition: box-shadow 0.2s;
  border: 2px solid #e2e8f0;
}

.change-password-card .input-group:focus-within {
  box-shadow: 0 0 0 2px #55acff33;
}

.change-password-card .input-group-text {
  border: none;
  background: #f8fafd;
  color: #55acff;
  font-size: 1.1rem;
}

.change-password-card .form-control {
  border-radius: 10px;
  background: #f8fafd;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: none;
}

.change-password-card .form-control:focus {
  border-color: #55acff;
  box-shadow: 0 0 0 2px rgba(85,172,255,0.15);
  background: #f4faff;
}

.toggle-password {
  border: none;
  background: transparent;
  color: #888;
  font-size: 1.2rem;
  transition: color 0.2s;
  border-radius: 8px;
}
.toggle-password:hover, .toggle-password:focus {
  color: #55acff;
  background: #eaf6ff;
}

.change-password-card .btn-primary {
  background: linear-gradient(90deg, #55acff 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.75rem 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(85,172,255,0.08);
}

.change-password-card .btn-primary:hover {
  background: linear-gradient(90deg, #764ba2 0%, #55acff 100%);
  box-shadow: 0 4px 16px rgba(85,172,255,0.13);
}

.change-password-card .btn-outline-secondary {
  border-radius: 10px;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.alert {
  border-radius: 10px;
  font-size: 0.98rem;
  padding: 0.7rem 1rem;
}

body, html, .container-wrapper, .content {
  overflow-x: hidden !important;
}
/* custom css ku */
.fs-08 {
  font-size: 0.8rem;
} 

/* =====================
   order-history.css
   ===================== */
/* ========================================================================== 
   ORDER HISTORY COMPONENT STYLES
   ========================================================================== */

.order-history-container {
  max-width: 450px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-history-title {
  font-weight: 700;
  color: #2d3a4a;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem !important;
  text-align: center;
}

.order-history-list {
  width: 100%;
}

.order-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(85,172,255,0.10), 0 1.5px 8px rgba(118,75,162,0.07);
  padding: 1.2rem 1rem 1rem 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 5px solid #55acff;
  /* animation: fadeInUpOrder 0.7s cubic-bezier(.68,-0.55,.27,1.55); */
}
.order-card:hover {
  box-shadow: 0 8px 32px rgba(85,172,255,0.18);
  transform: translateY(-2px) scale(1.02);
  border-left: 5px solid #764ba2;
}

@keyframes fadeInUpOrder {
  0% { opacity: 0; transform: translateY(40px);}
  100% { opacity: 1; transform: translateY(0);}
}

.order-plan-name {
  color: #0d6efd;
  font-size: 1.08em;
  transition: color 0.2s;
}
.order-plan-name:hover {
  color: #764ba2;
  text-decoration: underline;
}

.order-status {
  font-weight: 700;
  font-size: 0.98em;
  padding: 0.25em 0.8em;
  border-radius: 12px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
  background: #e9ecef;
  color: #495057;
  border: none;
}
.order-status-1 { background: #fff3cd; color: #856404; } /* UNPAID */
.order-status-2 { background: #d1e7dd; color: #0f5132; } /* PAID */
.order-status-3 { background: #f8d7da; color: #842029; } /* FAILED */
.order-status-4 { background: #e2e3e5; color: #41464b; } /* CANCELED */
.order-status-5 { background: #e7eaf6; color: #495057; } /* UNKNOWN */

.order-card .row > div {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.order-card .small {
  font-size: 0.97em;
  color: #495057;
}

.order-card .text-muted {
  color: #adb5bd !important;
}



/* =============================
   ORDER BALANCE PAGE STYLES
   ============================= */
.order-balance-container {
  max-width: 450px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-balance-title {
  font-weight: 700;
  color: #2d3a4a;
  letter-spacing: 0.5px;
  text-align: center;
}

/*.order-balance-card {*/
/*  background: #fff;*/
/*  border-radius: 18px;*/
/*  box-shadow: 0 4px 18px rgba(85,172,255,0.10), 0 1.5px 8px rgba(118,75,162,0.07);*/
  
/*  margin-bottom: 0.5rem;*/
/*  border-left: 5px solid #55acff;*/
/*}*/
/*.order-balance-card:hover {*/
/*  box-shadow: 0 8px 32px rgba(85,172,255,0.18);*/
/*  border-left: 5px solid #764ba2;*/
/*}*/

/*.order-balance-plan {*/
/*  font-size: 1.08em;*/
/*  color: #0d6efd;*/
/*}*/

/*.order-balance-price {*/
/*  font-size: 1.1em;*/
/*  color: #212529;*/
/*}*/
/*.order-balance-price-old {*/
/*  text-decoration: line-through;*/
/*  color: #b6b6b6;*/
/*  font-size: 0.98em;*/
/*}*/

/*.order-balance-btn {*/
/*  background: linear-gradient(90deg, #55acff 0%, #764ba2 100%);*/
/*  border: none;*/
/*  border-radius: 10px;*/
/*  font-weight: 600;*/
/*  padding: 0.75rem 1.5rem;*/
/*  transition: all 0.3s ease;*/
/*  color: white;*/
/*  text-decoration: none;*/
/*  display: inline-block;*/
/*  text-align: center;*/
/*}*/

/*.order-balance-btn:hover {*/
/*  background: linear-gradient(135deg, #764ba2 0%, #55acff 100%);*/
/*  transform: translateY(-1px);*/
/*  box-shadow: 0 4px 15px rgba(85,172,255,0.3);*/
/*  color: white;*/
/*}*/


/* Order Balance Custom Form */
.order-balance-custom-form {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(85,172,255,0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 0;
  margin-top: 1rem;
}

.order-balance-input {
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.order-balance-input:focus {
  border-color: #55acff;
  box-shadow: 0 0 0 3px rgba(85,172,255,0.1);
}

.order-balance-pay-btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.order-balance-btn-text {
  font-weight: 600;
}

/* Order Balance Responsive */
@media (max-width: 768px) {
  .order-balance-container {
    padding: 0;
    width: 100%;
    min-width: 100%;
  }
  
  .order-balance-title {
    font-size: 1.3rem;
  }
  
  .order-balance-card {
    padding: 1.25rem;
  }
  
  .order-balance-custom-form {
    padding: 1.25rem;
  }
}
@media (max-width: 480px) {
  .order-balance-container {
    padding: 0;
    width: 100%;
    min-width: 100%;
  }
  
  .order-balance-title {
    font-size: 1.2rem;
  }
  
  .order-balance-card {
    padding: 1rem;
  }
  
  .order-balance-custom-form {
    padding: 1rem;
  }
  
  
  
  .order-balance-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .order-balance-input {
    font-size: 0.95rem;
  }
}
/* Order Balance Loading States */
.order-balance-btn.loading {
  position: relative;
  color: transparent;
}

.order-balance-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: orderBalanceSpin 1s linear infinite;
}

@keyframes orderBalanceSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loginSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Order Balance Form Validation */
.order-balance-input.is-valid {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 2.89 2.89 2.89-2.89.94.94L4.82 9.56z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.order-balance-input.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.order-balance-custom-form .invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
  font-weight: 500;
}



/* =====================
   EDIT PROFILE PAGE STYLES
   ===================== */
.edit-profile-container {
  padding: 20px 0;
  min-height: calc(100vh - 160px);
}

.edit-profile-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  max-width: 100%;
  margin: 0;
}

.edit-profile-title {
  color: #2d3a4a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.edit-profile-form {
  width: 100%;
}

.edit-profile-form .form-label {
  font-weight: 600 !important;
  color: #495057 !important;
  margin-bottom: 0.35rem !important;
  font-size: 1.07em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4em !important;
  width: 100% !important;
  justify-content: flex-start !important;
  animation: loginSlideUp 0.6s ease-out 0.4s both !important;
}

.edit-profile-form .form-label i {
  color: #0d6efd !important;
  font-size: 1.1em !important;
}

.edit-profile-form .form-control {
  border-radius: 13px !important;
  border: 2px solid #e2e8f0 !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  background: #f8fafd !important;
  transition: all 0.3s !important;
  width: 100% !important;
  margin-bottom: 1.25rem !important;
  box-sizing: border-box !important;
  outline: none !important;
  animation: loginSlideUp 0.6s ease-out 0.5s both !important;
}

.edit-profile-form .form-control:focus {
  border-color: #55acff !important;
  box-shadow: 0 0 0 3px rgba(85,172,255,0.13) !important;
  background: #fff !important;
}

.edit-profile-form .form-control[readonly] {
  background: #e9ecef !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
}

.edit-profile-form textarea {
  border-radius: 13px !important;
  border: 2px solid #e2e8f0 !important;
  padding: 1.1rem 1.1rem !important;
  font-size: 1.15rem !important;
  background: #f8fafd !important;
  transition: all 0.3s !important;
  width: 100% !important;
  margin-bottom: 1.25rem !important;
  box-sizing: border-box !important;
  outline: none !important;
  animation: loginSlideUp 0.6s ease-out 0.5s both !important;
  resize: vertical !important;
  min-height: 100px !important;
}

.edit-profile-form textarea:focus {
  border-color: #55acff !important;
  box-shadow: 0 0 0 3px rgba(85,172,255,0.13) !important;
  background: #fff !important;
}

.edit-profile-form .btn-link {
  font-size: 1.08em !important;
  color: #55acff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
  padding: 0.2em 0.1em !important;
  cursor: pointer !important;
  display: inline-block !important;
  margin-top: 0.5rem !important;
}

.edit-profile-form .btn-link:hover {
  color: #764ba2 !important;
  text-decoration: underline !important;
}



.edit-profile-form button[type="submit"] {
  background: linear-gradient(97deg, #55cfff 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: 13px !important;
  font-weight: 700 !important;
  padding: 1.15rem !important;
  font-size: 1.22rem !important;
  color: #fff !important;
  width: 100% !important;
  box-shadow: 0 6px 20px rgba(85,172,255,0.18) !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6em !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  text-align: center !important;
  animation: loginSlideUp 0.6s ease-out 0.6s both !important;
}

.edit-profile-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #764ba2 0%, #55acff 100%) !important;
  box-shadow: 0 10px 28px rgba(85,172,255,0.22) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

.edit-profile-form .cancel-btn {
  background: linear-gradient(97deg, #6c757d 0%, #495057 100%) !important;
  border: none !important;
  border-radius: 13px !important;
  font-weight: 700 !important;
  padding: 1.15rem !important;
  font-size: 1.22rem !important;
  color: #fff !important;
  width: 100% !important;
  margin: 0.5rem auto 1rem auto !important;
  box-shadow: 0 6px 20px rgba(108,117,125,0.18) !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6em !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  text-align: center !important;
  text-decoration: none !important;
  animation: loginSlideUp 0.6s ease-out 0.7s both !important;
}

.edit-profile-form .cancel-btn:hover {
  background: linear-gradient(90deg, #495057 0%, #6c757d 100%) !important;
  box-shadow: 0 10px 28px rgba(108,117,125,0.22) !important;
  transform: translateY(-2px) scale(1.01) !important;
  text-decoration: none !important;
}

.edit-profile-form .btn-link {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0;
  margin-top: 0.5rem;
  display: inline-block;
}

.edit-profile-form .btn-link:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

.edit-profile-form .form-check {
  margin-top: 1rem;
}

.edit-profile-form .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.edit-profile-form .rounded-circle {
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.edit-profile-form .rounded-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .edit-profile-container {
    padding: 15px 0;
  }
  
  .edit-profile-card {
    padding: 1rem;
    margin: 0;
  }
  
  .edit-profile-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .edit-profile-card {
    padding: 1rem;
    margin: 0;
  }
  
  .edit-profile-title {
    font-size: 1.2rem;
  }
  
  .edit-profile-form .form-control,
  .edit-profile-form textarea {
    font-size: 0.99rem !important;
    padding: 0.8rem 0.8rem !important;
    border-radius: 9px !important;
  }
  
  .edit-profile-form button[type="submit"] {
    font-size: 1.05rem !important;
    padding: 0.95rem !important;
    width: 100% !important;
  }
  
  .edit-profile-form .cancel-btn {
    font-size: 1.05rem !important;
    padding: 0.95rem !important;
    width: 100% !important;
  }
}

/* =====================
   LOGIN PAGE STYLES
   ===================== */

/* HIDE HEADER, FOOTER, NAVBAR DI LOGIN PAGE */
.login-bg ~ .top-header,
.login-bg ~ .bottom-nav,
.login-bg ~ .container-wrapper,
.login-bg ~ .content {
  display: none !important;
}

body:has(.login-bg) {
  background: linear-gradient(135deg, #f8fafd 0%, #e2e8f0 100%) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.login-bg {
  min-height: 100vh !important;
  width: 100vw !important;
  background: linear-gradient(135deg, #f8fafd 0%, #e2e8f0 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  top: 0 !important; 
  left: 0 !important; 
  right: 0 !important; 
  bottom: 0 !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.login-box {
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 16px 48px 0 rgba(85,172,255,0.22), 0 2px 12px rgba(118,75,162,0.10) !important;
  border-radius: 32px !important;
  border: 1.5px solid rgba(85,172,255,0.13) !important;
  backdrop-filter: blur(22px) !important;
  max-width: 370px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 10000 !important;
  transition: box-shadow 0.2s, background 0.2s !important;
  text-align: center !important;
  animation: fadeInUpCard 0.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}

.login-box .login-logo {
  font-size: 2.5rem !important;
  color: #55acff !important;
  margin-bottom: 0rem !important;
  text-align: center !important;
  animation: loginPulse 2s ease-in-out infinite !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-block !important;
  border-radius: 50% !important;
  padding: 0.5rem !important;
}

.login-box .login-logo:hover {
  animation-play-state: paused !important;
  transform: scale(1.15) !important;
  color: #55cfff !important;
  text-shadow: 0 0 20px rgba(85, 207, 255, 0.8) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}



.login-box .login-title {
  font-weight: 700 !important;
  color: #2d3a4a !important;
  font-size: 2rem !important;
  margin-bottom: 0.2rem !important;
  text-align: center !important;
  animation: loginSlideUp 0.8s ease-out 0.1s both !important;
}

.login-box .login-subtitle {
  color: #495057 !important;
  font-size: 1.13rem !important;
  font-weight: 500 !important;
  margin-bottom: 0rem !important;
  text-align: center !important;
  animation: loginSlideUp 0.8s ease-out 0.2s both !important;
}

.login-form-new {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  animation: loginSlideUp 0.8s ease-out 0.3s both !important;
}

.login-form-new label {
  font-weight: 600 !important;
  color: #495057 !important;
  margin-bottom: 0.35rem !important;
  margin-top: 1.5rem;
  font-size: 1.07em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4em !important;
  width: 100% !important;
  justify-content: flex-start !important;
  animation: loginSlideUp 0.6s ease-out 0.4s both !important;
}

.login-form-new label i {
  color: #0d6efd !important;
  font-size: 1.1em !important;
}

.login-form-new input[type="text"],
.login-form-new input[type="password"] {
  border-radius: 13px !important;
  border: 2px solid #e2e8f0 !important;
  padding: 1.1rem 1.1rem !important;
  font-size: 1.15rem !important;
  background: #f8fafd !important;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.login-form-new .input-group-login {
  position: relative !important;
  width: 100% !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

.login-form-new .input-group-login input[type="password"] {
  flex: 1 1 0% !important;
  margin-bottom: 0 !important;
  padding-right: 2.8rem !important;
}



.login-form-new .remember-label {
  color: #495057 !important;
  font-weight: 500 !important;
  font-size: 1.07em !important;
  vertical-align: middle !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  pointer-events: none;
  user-select: none;
}

.login-form-new button[type="submit"] {
  background: linear-gradient(97deg, #55cfff 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: 13px !important;
  font-weight: 700 !important;
  padding: 1.15rem !important;
  font-size: 1.22rem !important;
  color: #fff !important;
  width: 100% !important;
  margin: 1.3rem auto !important;
  box-shadow: 0 6px 20px rgba(85,172,255,0.18) !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6em !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  text-align: center !important;
  animation: loginSlideUp 0.6s ease-out 0.6s both !important;
  min-width: 180px !important;
  max-width: 100% !important;
}

.login-form-new button[type="submit"]:hover {
  background: linear-gradient(90deg, #764ba2 0%, #55acff 100%) !important;
  box-shadow: 0 10px 28px rgba(85,172,255,0.22) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

.login-form-new a {
  font-size: 1.08em !important;
  color: #55acff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  margin-right: 1.2em !important;
  transition: color 0.2s !important;
  padding: 0.2em 0.1em !important;
  cursor: pointer !important;
}

.login-form-new a:last-child {
  margin-right: 0 !important;
}

.login-form-new a:hover {
  color: #764ba2 !important;
  text-decoration: underline !important;
}

.login-form-new .login-links-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: auto !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0.7rem !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.login-error {
  display: flex;
  opacity: 0;
  min-height: 1.5em;
  margin-bottom: 0;
  padding: 0;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  pointer-events: none;
  transition: opacity 0.2s, margin-bottom 0.2s, padding 0.2s;
}
.login-error.show {
  opacity: 1;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  pointer-events: auto;
}

.login-error i {
  color: #dc3545 !important;
  font-size: 1.1rem !important;
}

/* FONT KONSISTEN UNTUK LOGIN */
.login-bg, .login-box, .login-form-new, .login-form-new label, .login-form-new input, .login-form-new button, .login-form-new a, .login-form-new .remember-label {
  font-family: 'Nunito', 'Rubik', 'Montserrat', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  letter-spacing: 0.01em !important;
  font-weight: 400 !important;
}

/* ==========================================================================
   FIXED LOGIN STYLES
   ========================================================================== */

/* Fix remember row alignment */
.remember-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 1rem 0 !important;
  justify-content: flex-start !important;
}

.remember-row input[type="checkbox"] {
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

.remember-label {
  color: #495057 !important;
  font-weight: 500 !important;
  font-size: 1.07em !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  user-select: none !important;
}

/* Fix login box height to be more responsive */
.login-box {
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 16px 48px 0 rgba(85,172,255,0.22), 0 2px 12px rgba(118,75,162,0.10) !important;
  border-radius: 32px !important;
  border: 1.5px solid rgba(85,172,255,0.13) !important;
  backdrop-filter: blur(22px) !important;
  max-width: 370px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 10000 !important;
  transition: box-shadow 0.2s, background 0.2s !important;
  text-align: center !important;
  animation: fadeInUpCard 0.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
  min-height: auto !important;
  height: auto !important;
}

/* ==========================================================================
   ERROR POPUP STYLES
   ========================================================================== */

.error-popup {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  animation: fadeInError 0.3s ease-out !important;
  pointer-events: auto !important;
}

/* Prevent body scroll when popup is open */
body:has(.error-popup) {
  overflow: hidden !important;
}

.error-popup-content {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(220, 53, 69, 0.2) !important;
  border: 2px solid rgba(220, 53, 69, 0.1) !important;
  max-width: 400px !important;
  width: 90% !important;
  margin: 1rem !important;
  overflow: hidden !important;
  animation: slideInError 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  position: relative !important;
  z-index: 1000000 !important;
}

.error-popup-content.success {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(40, 167, 69, 0.2) !important;
  border: 2px solid rgba(40, 167, 69, 0.1) !important;
}

.error-popup-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  color: white !important;
  padding: 1.2rem 1.5rem 1rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Success popup header */
.error-popup-header.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.error-popup-header i {
  font-size: 1.3rem !important;
  color: #ffeb3b !important;
  animation: pulseWarning 2s infinite !important;
}

.error-popup-header.success i {
  color: #ffffff !important;
  animation: pulseSuccess 2s infinite !important;
}

.error-popup-body {
  padding: 1.5rem !important;
  text-align: center !important;
  color: #495057 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

.error-popup-body p {
  margin: 0 !important;
  color: #dc3545 !important;
  font-weight: 600 !important;
}

.error-popup-footer {
  padding: 0 1.5rem 1.5rem 1.5rem !important;
  display: flex !important;
  justify-content: center !important;
}

.error-popup-close {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.8rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

.error-popup-close:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4) !important;
}

.error-popup-close:active {
  transform: translateY(0) !important;
}

/* Error Popup Animations */
@keyframes fadeInError {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeOutError {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes pulseWarning {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes pulseSuccess {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes loginPulse {
  0% {
    transform: scale(1);
    color: #55acff;
    text-shadow: 0 0 5px rgba(85, 172, 255, 0.3);
  }
  15% {
    transform: scale(1.15);
    color: #55cfff;
    text-shadow: 0 0 20px rgba(85, 207, 255, 0.8);
  }
  30% {
    transform: scale(1);
    color: #55acff;
    text-shadow: 0 0 5px rgba(85, 172, 255, 0.3);
  }
  45% {
    transform: scale(1.1);
    color: #55cfff;
    text-shadow: 0 0 15px rgba(85, 207, 255, 0.6);
  }
  60% {
    transform: scale(1);
    color: #55acff;
    text-shadow: 0 0 5px rgba(85, 172, 255, 0.3);
  }
  100% {
    transform: scale(1);
    color: #55acff;
    text-shadow: 0 0 5px rgba(85, 172, 255, 0.3);
  }
}



/* Mobile responsive for error popup */
@media (max-width: 480px) {
  .error-popup-content {
    width: 95% !important;
    margin: 0.5rem !important;
    border-radius: 16px !important;
  }
  
  .error-popup-header {
    padding: 1rem 1.2rem 0.8rem 1.2rem !important;
    font-size: 1rem !important;
  }
  
  .error-popup-body {
    padding: 1.2rem !important;
    font-size: 0.95rem !important;
  }
  
  .error-popup-footer {
    padding: 0 1.2rem 1.2rem 1.2rem !important;
  }
  
  .error-popup-close {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   TOGGLE PASSWORD BUTTON STYLES
   ========================================================================== */

.login-form-new .toggle-password-btn {
  position: absolute !important;
  right: 0.2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: #6c757d !important;
  font-size: 1.35rem !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 2.5rem !important;
  width: 2.5rem !important;
  pointer-events: auto !important;
  transition: all 0.2s ease !important;
  border-radius: 50% !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

.login-form-new .toggle-password-btn:hover {
  color: #0d6efd !important;
  background-color: rgba(13, 110, 253, 0.1) !important;
}

.login-form-new .toggle-password-btn:focus {
  outline: none !important;
  color: #0d6efd !important;
  background-color: rgba(13, 110, 253, 0.15) !important;
}

.toggle-password-btn i {
  font-size: 1.35rem !important;
  height: 1.35em !important;
  width: 1.35em !important;
  line-height: 1.35em !important;
  text-align: center !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}



/* ==========================================================================
   FORM FOCUS STATES
   ========================================================================== */

/* Focus states */
.login-form-new input:focus {
  border-color: #55acff !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(85, 172, 255, 0.25) !important;
}



/* STYLE UNTUK TEKS REGISTER */
.login-register-text {
  text-align: center !important;
  margin: 0 !important;
  font-size: 1rem !important;
  color: #495057 !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
}

.login-register-text a {
  color: #55acff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}

.login-register-text a:hover {
  color: #764ba2 !important;
  text-decoration: underline !important;
}

@media (max-width: 480px) {
  .login-bg {
    padding: 0 1rem !important;
    min-height: 100vh !important;
    height: 100vh !important;
  }
  .login-box {
    padding: 1rem !important;
    max-width: 100% !important;
    border-radius: 18px !important;
  }
  .login-box .login-title {
    font-size: 2rem !important;
  }
  .login-form-new button[type="submit"] {
    font-size: 1.05rem !important;
    padding: 0.95rem !important;
    width: 100% !important;
  }
  .login-form-new input[type="text"],
  .login-form-new input[type="password"] {
    font-size: 0.99rem !important;
    padding: 0.8rem 0.8rem !important;
    border-radius: 9px !important;
  }
  .login-form-new .input-group-login {
    margin-bottom: 1.1rem !important;
  }
  .login-form-new .login-links-row {
    margin-bottom: 0.2rem !important;
    margin-top: 0.1rem !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .login-form-new a {
    text-align: center !important;
    margin: 0 !important;
  }
  .login-register-text {
    font-size: 0.95rem !important;
    margin: 0 !important;
  }
  .remember-row {
    margin: 0.8rem 0 !important;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .login-bg {
    padding: 0 1.5rem !important;
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .login-box {
    padding: 2rem 1.5rem !important;
    max-width: 420px !important;
    width: 100% !important;
    border-radius: 22px !important;
    margin: auto !important;
  }
  .remember-row {
    margin: 1.2rem 0 !important;
  }
}

@media (max-width: 600px) {
  .login-bg {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
  .login-box {
    max-width: 100% !important;
  }
  .remember-row {
    margin: 1rem 0 !important;
  }
}

/* =============================
   IMPROVED ORDER BALANCE CARD
   ============================= */
.order-balance-card {
  background: linear-gradient(120deg, #e0f7fa 0%, #f8fafc 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(85,172,255,0.13), 0 1.5px 8px rgba(118,75,162,0.09);
  margin-bottom: 1rem;
  border-left: 6px solid #55acff;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.order-balance-card:hover {
  box-shadow: 0 12px 36px rgba(85,172,255,0.18);
  border-left: 6px solid #764ba2;
  transform: translateY(-2px) scale(1.02);
}

.order-balance-plan {
  font-size: 1.15em;
  color: #0d6efd;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.order-balance-plan::before {
  content: "\f4c0";
  font-family: "Bootstrap-icons";
  font-size: 1.2em;
  color: #55acff;
  margin-right: 0.4em;
  display: inline-block;
}

.order-balance-price {
  font-size: 1.18em;
  color: #212529;
  font-weight: 600;
  background: #e3f2fd;
  border-radius: 8px;
  padding: 0.25em 0.8em;
  box-shadow: 0 2px 8px rgba(85,172,255,0.07);
}

.order-balance-price-old {
  text-decoration: line-through;
  color: #b6b6b6;
  font-size: 0.98em;
  margin-left: 0.5em;
}

.order-balance-btn {
  background: linear-gradient(90deg, #55acff 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  font-size: 1.08em;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(85,172,255,0.10);
}

.order-balance-btn:hover {
  background: linear-gradient(90deg, #764ba2 0%, #55acff 100%);
  box-shadow: 0 6px 18px rgba(85,172,255,0.18);
  transform: scale(1.03);
}
