/* ============================================
   PROFESSIONAL UNIQUE THEME - PRIMARY COLOR #056480
   Complete Custom CSS – Working & Ready to Use
   ============================================ */

:root {
  --primary: #056480;
  --primary-light: #0a7c9e;
  --primary-dark: #044c63;
  --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
  --primary-glow: 0 0 15px rgba(5, 100, 128, 0.5);
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;
  --white: #ffffff;
  --black: #000000;
  --border-color: rgba(0,0,0,0.1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 20px rgba(5, 100, 128, 0.3);
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

/* ===== PRIMARY COLOR UTILITIES ===== */
.bg-primary { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ===== ANIMATED GRADIENTS ===== */
.animated-gradient-bg {
  background: linear-gradient(45deg, #056480, #0a7c9e, #056480, #0a7c9e);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== CUSTOM CHECKBOX & RADIO ===== */
.custom-checkbox,
.custom-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input,
.custom-radio input {
  display: none;
}
.custom-checkbox .checkmark,
.custom-radio .radiomark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  margin-right: 8px;
  display: inline-block;
  position: relative;
  transition: var(--transition);
}
.custom-radio .radiomark {
  border-radius: 50%;
}
.custom-checkbox input:checked + .checkmark,
.custom-radio input:checked + .radiomark {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 3px white;
}
.custom-checkbox .checkmark::after,
.custom-radio .radiomark::after {
  content: "";
  display: none;
  position: absolute;
}
.custom-checkbox input:checked + .checkmark::after {
  content: "✓";
  display: block;
  color: white;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  width: 100%;
  left: 0;
  top: -2px;
}

/* ===== INTERACTIVE CARDS ===== */
.card-unique {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.card-unique::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(5,100,128,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card-unique:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
  border-color: var(--primary);
}
.card-unique:hover::before {
  opacity: 1;
}

/* ===== CUSTOM LOADING SPINNER ===== */
.spinner-unique {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(5, 100, 128, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== DROP CAP ===== */
.dropcap::first-letter {
  font-size: 4em;
  color: var(--primary);
  float: left;
  line-height: 1;
  margin-right: 12px;
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(5,100,128,0.2);
}

/* ===== COPY ANIMATION ===== */
.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}
.copyInput:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}
.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 0.9em;
  padding: 6px 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  opacity: 0;
  animation: showcopied 1.5s ease;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
}
@keyframes showcopied {
  0% { opacity: 0; transform: translateX(100%); }
  50% { opacity: 0.8; transform: translateX(40%); }
  70% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; }
}

/* ===== COOKIES CARD ===== */
.cookies-card {
  width: 400px;
  padding: 25px;
  color: var(--dark);
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999999;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(5,100,128,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookies-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookies-card__close {
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--secondary);
  transition: var(--transition);
}
.cookies-card__close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}
.cookies-card__btn,
.cookies-card__btn-outline {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cookies-card__btn {
  background: var(--primary-gradient);
  color: white !important;
  box-shadow: var(--shadow-sm);
}
.cookies-card__btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.cookies-card__btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookies-card__btn-outline:hover {
  background: var(--primary);
  color: white !important;
}
@media (max-width: 767px) {
  .cookies-card {
    width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
    padding: 20px;
  }
}
.cookies-card.hide {
  bottom: -500px !important;
}

/* ===== PAYMENT / GATEWAY STYLES ===== */
.gateway-card {
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.gateway-card:hover {
  box-shadow: var(--shadow-md), 0 0 0 2px rgba(5,100,128,0.1);
}
.payment-card-title {
  padding: 15px 25px;
  text-align: center;
  background: var(--primary-gradient);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  border-left: 4px solid transparent;
  cursor: pointer;
}
.payment-item:hover {
  background: rgba(5,100,128,0.03);
}
.payment-item:has(.payment-item__radio:checked) {
  border-left-color: var(--primary);
  background: rgba(5,100,128,0.05);
}
.payment-item__radio {
  display: none;
}
.payment-item__check {
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  transition: var(--transition);
}
.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  background: var(--primary);
  box-shadow: inset 0 0 0 3px white;
}
.payment-item__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ===== DEPOSIT INFO ===== */
.deposit-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}
.deposit-info__input-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,100,128,0.1);
}
.total-amount {
  border-top: 2px solid var(--primary);
  margin-top: 12px;
  padding-top: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== PURCHASE OPTION CARD ===== */
.purchase-option-card__item {
  flex: 1;
  min-width: 120px;
  padding: 30px 10px;
  background: white;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.purchase-option-card__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-primary);
  border-color: var(--primary-light);
}
.purchase-option-card__item:has(.method-input:checked) {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(5,100,128,0.05), rgba(5,100,128,0.1));
}
.purchase-option-card__icon i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ===== TABLE THUMB ===== */
.table-thumb {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}
.name-short-form {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

/* ===== SKELETON LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== SELECT2 CUSTOM ===== */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--primary-light) !important;
  color: white;
  border: none;
}

/* ===== COUPON BUTTON ===== */
.coupon-apply-button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: calc(100% - 10px);
  width: 25%;
  border: none;
  border-radius: 8px !important;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.coupon-apply-button:hover:not(.disable) {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: scale(1.02);
}
.coupon-apply-button.disable {
  background: #ccc;
  cursor: not-allowed;
}
.coupon-apply-button.remove {
  background: var(--danger);
}

/* ===== PROGRESS MODAL ===== */
.progressModal .progress-bar {
  background: var(--primary-gradient);
}

/* ===== INPUT POPUP ===== */
.hover-input-popup .input-popup {
  border-left: 4px solid var(--primary);
}
.input-popup p.success::before {
  content: "\f058";
  color: var(--success);
}
.input-popup p.error::before {
  color: var(--danger);
}

/* ===== APEXCHARTS CUSTOM ===== */
.apexcharts-menu-item:hover {
  background: var(--primary) !important;
  color: white;
}

/* ===== DOWNLOAD DOCUMENT ===== */
.download-document {
  background: var(--primary-gradient);
  color: white;
  border-radius: 20px;
  padding: 8px 16px;
  display: inline-block;
  transition: var(--transition);
}
.download-document:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ===== AGENT INFO LINK ===== */
.agent-info .agent-url {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.agent-info .agent-url::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.agent-info .agent-url:hover::after {
  width: 100%;
}

/* ===== RESPONSIVE FILTER ===== */
@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
  }
  .show-filter {
    display: block;
    background: var(--primary);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
  }
}

/* ===== UNIQUE ADDITIONS ===== */
.glow-text {
  color: var(--primary);
  text-shadow: 0 0 5px rgba(5,100,128,0.5), 0 0 10px rgba(5,100,128,0.3);
}
.animated-underline {
  position: relative;
  display: inline-block;
}
.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.animated-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5,100,128,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(5,100,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,100,128,0); }
}