/* ===================================================================
     ORIENTAL WITHDRAWAL LUXURY
     Namespace: owd-
     =================================================================== */

.owd-wrapper {
  /* Palette */
  --owd-bg-dark: #2b0505;
  --owd-bg-row: #3e0a0a;
  --owd-gold-main: #ffcc33;
  --owd-gold-light: #ffeebb;
  --owd-gold-dark: #c59d26;
  --owd-red-deep: #520e0e;
  --owd-text: #fff5e6;
  --owd-text-muted: #dcaaaa;
  --owd-border: #801f1f;
  --owd-success: #27ae60;

  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .owd-wrapper {
    width: 90%;
  }
}

/* Main Container */
.owd-container {
  width: 100%;
  max-width: 600px;
  background: radial-gradient(circle at 50% 20%, #2b0505, #120202);

  /* Gold Double Border */
  border: 2px solid var(--owd-gold-dark);
  box-shadow:
    0 0 0 4px #1a0505,
    0 0 0 6px var(--owd-gold-main),
    0 20px 50px rgba(0, 0, 0, 0.9);

  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Background Pattern */
.owd-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--owd-gold-dark) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.15;
  pointer-events: none;
}

/* Header */
.owd-header {
  padding: 16px 20px;
  background: linear-gradient(to bottom, #a61111, #3b1d07);
  border-bottom: 1px solid var(--owd-gold-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.owd-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--owd-gold-light),
    transparent
  );
}

.owd-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--owd-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.owd-dot {
  width: 8px;
  height: 8px;
  background: var(--owd-success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--owd-success);
  border: 1px solid #fff;
  animation: owdPulse 2s infinite;
}

.owd-badge {
  font-size: 10px;
  color: var(--owd-gold-main);
  border: 1px solid var(--owd-gold-dark);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
}

/* List Area */
.owd-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 320px;
  position: relative;
  z-index: 1;
}

/* Row Item */
.owd-row {
  background: var(--owd-bg-row);
  border: 1px solid var(--owd-border);
  border-left: 3px solid var(--owd-gold-dark);
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: owdSlideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.owd-row:hover {
  transform: translateX(4px);
  background: #520e0e;
  border-color: var(--owd-gold-dark);
  border-left-color: var(--owd-gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Bank Icon */
.owd-bank {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--owd-gold-dark);
}
.owd-bank img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Info */
.owd-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.owd-user {
  font-size: 15px;
  font-weight: 600;
  color: var(--owd-text);
  margin-bottom: 2px;
}

.owd-meta {
  font-size: 12px;
  color: var(--owd-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Amount & Status */
.owd-amount-wrap {
  text-align: right;
}

.owd-amount {
  font-family: 'Pridi', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--owd-gold-main);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.owd-status {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
}

/* Status Colors */
.owd-status--pending {
  color: var(--owd-text-muted);
}
.owd-status--success {
  color: var(--owd-success);
}

/* Icons (Inline SVG) */
.owd-icon-spin {
  width: 12px;
  height: 12px;
  animation: owdSpin 1s linear infinite;
}
.owd-icon-check {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Animations */
@keyframes owdSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes owdPulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  }
  70% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(39, 174, 96, 0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

@keyframes owdSpin {
  100% {
    transform: rotate(360deg);
  }
}

/* Golden Shine flash on success */
.owd-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 204, 51, 0.2),
    transparent
  );
  transform: skewX(-20deg) translateX(-150%);
  animation: owdShine 0.8s ease-out forwards;
  pointer-events: none;
}

@keyframes owdShine {
  to {
    transform: skewX(-20deg) translateX(150%);
  }
}
