.wr-payment-simulator {
    display: flex;
    width: 100%;
}

.wr-payment-simulator__container {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 380px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wr-payment-simulator__container.wr-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wr-payment-simulator__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 50;
    display: none;
    border-radius: inherit;
}

.wr-payment-simulator__overlay.wr-active {
    display: block;
}

/* Dropdowns */
.wr-payment-simulator__dropdown {
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 16px;
    z-index: 100;
    display: none;
    border: 1px solid #eeeeee;
    max-height: 320px;
    overflow-y: auto;
}

.wr-payment-simulator__dropdown.wr-active {
    display: block;
}

.wr-payment-simulator__dropdown h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
    padding: 0 4px;
}

.wr-payment-simulator__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
    position: relative;
}

.wr-payment-simulator__dropdown-item:hover {
    background: #f5f5f5;
}

.wr-payment-simulator__dropdown-item.wr-selected {
    background: #f8f5ff;
}

.wr-payment-simulator__dropdown-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.wr-payment-simulator__flag {
    font-size: 20px;
    line-height: 1;
}

.wr-payment-simulator__dropdown-info {
    flex: 1;
}

.wr-payment-simulator__dropdown-name {
    font-size: 14px;
    font-weight: 500;
    color: #111111;
}

.wr-payment-simulator__dropdown-code {
    font-size: 12px;
    color: #888888;
    margin-top: 1px;
}

.wr-payment-simulator__check {
    width: 18px;
    height: 18px;
    color: #111111;
    flex-shrink: 0;
}

.wr-payment-simulator__asset-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
}

/* Top Bar */
.wr-payment-simulator__top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.wr-payment-simulator__selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.2s ease;
}

.wr-payment-simulator__selector:hover {
    background: #e8e8e8;
}

.wr-payment-simulator__chevron {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    flex-shrink: 0;
}

.wr-payment-simulator__crypto-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
}

.wr-payment-simulator__settings-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.wr-payment-simulator__settings-btn:hover {
    background: #e8e8e8;
}

.wr-payment-simulator__settings-btn svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

/* Amount Section */
.wr-payment-simulator__amount-section {
    text-align: center;
}

.wr-payment-simulator__amount-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.wr-payment-simulator__currency-symbol {
    font-size: 24px;
    font-weight: 400;
    color: #666666;
    line-height: 1.2;
    margin-top: 8px;
}

.wr-payment-simulator__amount-input {
    font-size: 56px;
    font-weight: 300;
    color: #111111;
    border: none;
    background: transparent;
    width: auto;
    min-width: 120px;
    text-align: left;
    outline: none;
    font-family: inherit;
    line-height: 1;
    letter-spacing: -1px;
    padding: 0;
}

.wr-payment-simulator__amount-input::placeholder {
    color: #cccccc;
}

.wr-payment-simulator__amount-input:focus {
    outline: none;
    box-shadow: none;
}

/* Conversion */
.wr-payment-simulator__conversion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #888888;
    font-size: 14px;
}

.wr-payment-simulator__conversion-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.wr-payment-simulator__refresh-icon {
    width: 14px;
    height: 14px;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.wr-payment-simulator__refresh-icon:hover {
    opacity: 0.7;
}

/* Preset Buttons */
.wr-payment-simulator__preset-buttons {
    display: flex;
    gap: 10px;
}

.wr-payment-simulator__preset-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wr-payment-simulator__preset-btn:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.wr-payment-simulator__preset-btn.wr-active {
    background: #7d00ff;
    color: #ffffff;
    border-color: #7d00ff;
}

/* Continue Button */
.wr-payment-simulator__continue-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: none;
    background: #7d00ff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
}

.wr-payment-simulator__continue-btn:hover {
    background: #6a00d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(125, 0, 255, 0.3);
}

.wr-payment-simulator__continue-btn:active {
    transform: translateY(0);
}

/* Footer */
.wr-payment-simulator__footer {
    text-align: center;
    color: #aaaaaa;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wr-payment-simulator__dot {
    width: 6px;
    height: 6px;
    background: #aaaaaa;
    border-radius: 50%;
    display: inline-block;
}

.wr-payment-simulator__footer strong {
    color: #888888;
    font-weight: 600;
}

/* ===== SCREEN 2 ===== */
.wr-payment-simulator__screen2 {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.wr-payment-simulator__screen2.wr-active {
    display: flex;
}

.wr-payment-simulator__screen1.wr-hidden {
    display: none;
}

.wr-payment-simulator__screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wr-payment-simulator__back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.wr-payment-simulator__back-btn:hover {
    background: #333333;
}

.wr-payment-simulator__back-btn svg {
    width: 18px;
    height: 18px;
    stroke: #e0e0e0;
}

.wr-payment-simulator__screen2-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.wr-payment-simulator__helper-text {
    font-size: 13px;
    color: #888888;
    line-height: 1.5;
    padding: 0 4px;
    margin: 0;
}

.wr-payment-simulator__payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wr-payment-simulator__payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #222222;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.wr-payment-simulator__payment-method.wr-staggered {
    opacity: 1;
    transform: translateY(0);
}

.wr-payment-simulator__payment-method:hover {
    background: #2a2a2a;
    border-color: #333333;
}

.wr-payment-simulator__method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.wr-payment-simulator__method-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.wr-payment-simulator__method-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    fill: none;
}

.wr-payment-simulator__method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wr-payment-simulator__method-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.wr-payment-simulator__method-subtitle {
    font-size: 13px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wr-payment-simulator__method-subtitle svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    stroke: currentColor;
    fill: none;
}

.wr-payment-simulator__method-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.4;
    flex-shrink: 0;
    stroke: #666666;
    fill: none;
}

/* Animations */
@keyframes wr-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.wr-payment-simulator__conversion.wr-updating {
    animation: wr-pulse 1s ease-in-out infinite;
}

/* Screen transitions */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

.wr-payment-simulator__screen1.wr-animate-out-left {
    animation: slideOutLeft 0.3s ease forwards;
}

.wr-payment-simulator__screen2.wr-animate-in-right {
    animation: slideInRight 0.3s ease forwards;
}

.wr-payment-simulator__screen2.wr-animate-out-right {
    animation: slideOutRight 0.3s ease forwards;
}

.wr-payment-simulator__screen1.wr-animate-in-left {
    animation: slideInLeft 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .wr-payment-simulator__container {
        padding: 24px 16px;
    }

    .wr-payment-simulator__amount-input {
        font-size: 42px;
    }

    .wr-payment-simulator__currency-symbol {
        font-size: 20px;
        margin-top: 4px;
    }

    .wr-payment-simulator__preset-btn {
        font-size: 13px;
        padding: 10px 0;
    }

    .wr-payment-simulator__continue-btn {
        font-size: 14px;
        padding: 14px;
    }

    .wr-payment-simulator__screen2-title {
        font-size: 18px;
    }

    .wr-payment-simulator__payment-method {
        padding: 14px;
    }

    .wr-payment-simulator__method-icon {
        width: 40px;
        height: 40px;
    }

    .wr-payment-simulator__method-title {
        font-size: 15px;
    }
}