/* =========================================================
   WITHDRAWAL LOCK MODAL STYLES (1:1 Replica)
   ========================================================= */

#withdrawal-lock-modal-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

#withdrawal-lock-modal-root.active {
    display: flex;
}

.wlock-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: wlockFadeIn 0.25s ease-out forwards;
}

.wlock-modal {
    position: relative;
    width: 90%;
    max-width: 390px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #171b29 0%, #0e111a 100%);
    border: 1px solid #262d40;
    border-radius: 24px;
    padding: 28px 20px 22px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 35, 75, 0.1);
    box-sizing: border-box;
    animation: wlockSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    scrollbar-width: none;
}
.wlock-modal::-webkit-scrollbar {
    display: none;
}

/* Close Button */
.wlock-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #202636;
    border: 1px solid #2d364b;
    color: #8c97aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.wlock-close-btn:hover,
.wlock-close-btn:active {
    background: #2b3348;
    color: #ffffff;
    transform: scale(1.05);
}

/* Header Badge */
.wlock-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.wlock-badge {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff234b 0%, #a4001d 75%, #600010 100%);
    box-shadow: 0 0 35px rgba(255, 35, 75, 0.7), inset 0 0 14px rgba(255, 120, 140, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    animation: wlockPulseGlow 2.5s infinite ease-in-out;
}

.wlock-badge-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.wlock-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}
.wlock-title span {
    color: #ff3b53;
}

.wlock-subtitle {
    font-size: 13.5px;
    color: #929db0;
    line-height: 1.45;
    margin: 0;
    padding: 0 8px;
}
.wlock-subtitle strong,
.wlock-subtitle span.highlight {
    color: #ffb800;
    font-weight: 700;
}

/* Stats Cards */
.wlock-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.wlock-stat-card {
    background: #161a27;
    border: 1px solid #232b3d;
    border-radius: 14px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.15s ease;
}

.wlock-stat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wlock-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wlock-stat-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.wlock-stat-icon.purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.wlock-stat-icon.blue {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.wlock-stat-icon.orange {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.wlock-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #e5eaf2;
    letter-spacing: 0.2px;
}

.wlock-stat-value {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.wlock-stat-value.green {
    color: #00e676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}
.wlock-stat-value.white {
    color: #ffffff;
}
.wlock-stat-value.red {
    color: #ff5252;
    text-shadow: 0 0 10px rgba(255, 82, 82, 0.3);
}

/* Progress Section */
.wlock-progress-section {
    margin-bottom: 16px;
}

.wlock-progress-track {
    width: 100%;
    height: 7px;
    background: #1c2232;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #273045;
}

.wlock-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
    border-radius: 99px;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.wlock-progress-text {
    font-size: 12px;
    color: #727e94;
    text-align: center;
    letter-spacing: 0.2px;
    margin: 0;
}

.wlock-deposit-box {
    background: #141824;
    border: 1px solid #232b3e;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.wlock-deposit-box:hover {
    border-color: rgba(255, 184, 0, 0.6);
    transform: translateY(-1px);
}


.wlock-deposit-box-left {
    display: flex;
    flex-direction: column;
}

.wlock-deposit-now-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #8f9aa9;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.wlock-deposit-now-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ffb800;
    line-height: 1.1;
    margin-bottom: 3px;
    text-shadow: 0 2px 10px rgba(255, 184, 0, 0.25);
}

.wlock-deposit-now-desc {
    font-size: 12px;
    color: #758197;
}

.wlock-deposit-box-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wlock-card-img {
    width: 48px;
    height: 32px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f7eed2 0%, #e0c88b 50%, #d4b46b 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4px;
    box-sizing: border-box;
}
.wlock-card-chip {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 6px;
    background: #c29938;
    border-radius: 1px;
}
.wlock-card-line {
    width: 70%;
    height: 2px;
    background: #5c4415;
    border-radius: 1px;
    opacity: 0.6;
}

.wlock-moneybag {
    width: 36px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wlock-moneybag svg {
    width: 36px;
    height: 38px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

/* Primary Action Button */
.wlock-cta-btn {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(90deg, #ffb800 0%, #ff8f00 100%);
    color: #0b0c10;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wlock-cta-btn:hover {
    box-shadow: 0 8px 24px rgba(255, 179, 0, 0.5);
}
.wlock-cta-btn:active {
    transform: scale(0.98);
}

.wlock-plus-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #000000;
    color: #ffb800;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

/* Animations */
@keyframes wlockFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes wlockSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wlockPulseGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 35, 75, 0.65), inset 0 0 12px rgba(255, 120, 140, 0.5);
    }
    50% {
        box-shadow: 0 0 45px rgba(255, 35, 75, 0.9), inset 0 0 18px rgba(255, 150, 170, 0.7);
    }
}

.wlock-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(0, 0, 0, 0.25);
    border-top-color: #000000;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    animation: wlockSpin 0.6s linear infinite;
    margin-right: 6px;
}

@keyframes wlockSpin {
    to { transform: rotate(360deg); }
}

