/* =========================================================
   ATLANTEX WEB STYLE — HikaShop Checkout & Cart Redesign
   Full CSS override for hikashop.css
   ========================================================= */

/* Global reset */
.hikashop_checkout_page, .hikashop_cart, #hikashop_checkout, #hikashop_cart {
  font-family: 'Poppins', sans-serif;
  color: #e0e3f8;
  background: radial-gradient(circle at top left, #0d0f24, #1a0033);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  animation: fadeIn 1s ease-in-out;
}

/* Headers */
.hikashop_checkout_page h1, .hikashop_checkout_page h2,
.hikashop_cart h1, .hikashop_cart h2,
#hikashop_checkout h1, #hikashop_cart h1 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 20px 0;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #c84bff, #7cf4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tables */
.hikashop_cart table, .hikashop_checkout_page table, #hikashop_cart table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(20,22,45,0.65);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0,0,0,.5);
  animation: slideUp 1s ease;
}

.hikashop_cart th, .hikashop_checkout_page th {
  padding: 16px;
  background: linear-gradient(135deg, rgba(200,75,255,.25), rgba(124,244,255,.25));
  color: #7cf4ff !important;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.hikashop_cart td, .hikashop_checkout_page td {
  padding: 14px;
  border-bottom: 1px solid rgba(200,75,255,.15);
  text-align: center;
  transition: background .3s;
}
.hikashop_cart tr:hover td, .hikashop_checkout_page tr:hover td {
  background: rgba(200,75,255,.08);
}

/* Input fields */
.hikashop_checkout_page input[type=text],
.hikashop_checkout_page input[type=password],
.hikashop_checkout_page input[type=email],
.hikashop_checkout_page select,
.hikashop_cart input[type=text],
.hikashop_cart select {
  width: 100%;
  padding: 12px;
  background: rgba(20,22,45,.65);
  border: 1px solid rgba(200,75,255,.35);
  border-radius: 10px;
  color: #e0e3f8;
  transition: border .3s, box-shadow .3s, background .3s;
}

.hikashop_checkout_page input:focus,
.hikashop_checkout_page select:focus,
.hikashop_cart input:focus,
.hikashop_cart select:focus {
  border-color: #7cf4ff;
  background: rgba(30,34,64,.85);
  box-shadow: 0 0 15px rgba(124,244,255,.6);
  outline: none;
}

/* Buttons */
.hikashop_checkout_page button,
.hikashop_checkout_page input[type=submit],
.hikashop_cart button,
.hikashop_cart input[type=submit],
.hikashop_cart_input_button {
  background: linear-gradient(135deg, #c84bff, #7cf4ff);
  border: none;
  color: #0d0f24 !important;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .25s, box-shadow .3s;
}
.hikashop_checkout_page button:hover,
.hikashop_cart button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 15px #c84bff, 0 0 30px #7cf4ff;
}

/* Error / Warning Messages */
.hikashop_error, .hikashop_checkout_error, .hikashop_cart_error {
  background: rgba(255,80,80,.15);
  border: 1px solid #ff4d6d;
  padding: 14px;
  border-radius: 8px;
  color: #ff6b6b;
  font-weight: bold;
  margin: 20px 0;
  animation: shake .5s ease;
}

/* Success Message */
.hikashop_success {
  background: rgba(80,255,180,.1);
  border: 1px solid #00ffaa;
  padding: 14px;
  border-radius: 8px;
  color: #00ffaa;
  font-weight: bold;
  margin: 20px 0;
  animation: glow 2s infinite alternate;
}

/* Login Box */
#hikashop_checkout_login, #hikashop_checkout_login_form {
  background: rgba(20,22,45,0.7);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  margin-bottom: 20px;
  animation: fadeIn 1.5s ease;
}

/* Coupon */
#hikashop_checkout_coupon, .hikashop_cart_coupon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
#hikashop_checkout_coupon input[type=text], .hikashop_cart_coupon input[type=text] {
  flex: 1;
  margin-right: 10px;
}
#hikashop_checkout_coupon input[type=submit], .hikashop_cart_coupon input[type=submit] {
  flex: 0;
}

/* Progress Steps (Wizard) */
.hikashop_checkout_steps {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  list-style: none;
  counter-reset: step;
}
.hikashop_checkout_steps li {
  position: relative;
  flex: 1;
  text-align: center;
  color: #a3a8c3;
  font-weight: 600;
}
.hikashop_checkout_steps li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin: 0 auto 10px;
  width: 40px; height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: rgba(20,22,45,.8);
  border: 2px solid #c84bff;
  color: #c84bff;
  font-weight: bold;
  transition: all .3s;
}
.hikashop_checkout_steps li.active::before {
  background: linear-gradient(135deg, #c84bff, #7cf4ff);
  color: #0d0f24;
  box-shadow: 0 0 15px #c84bff, 0 0 30px #7cf4ff;
}

/* Animations */
@keyframes fadeIn {
  from {opacity:0; transform: translateY(20px);}
  to {opacity:1; transform: translateY(0);}
}
@keyframes slideUp {
  from {opacity:0; transform: translateY(40px);}
  to {opacity:1; transform: translateY(0);}
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-8px); }
  40%,80% { transform: translateX(8px); }
}
@keyframes glow {
  from { box-shadow: 0 0 10px rgba(0,255,170,.5); }
  to { box-shadow: 0 0 25px rgba(0,255,170,.9); }
}
