.dswie-container {
    max-width: 520px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.dswie-card {
    background: #1a1d29;
    border-radius: 16px;
    padding: 32px;
    color: #e4e6eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.dswie-header {
    margin-bottom: 28px;
}

.dswie-header h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.dswie-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.dswie-step.active {
    color: #10b981;
    font-weight: 600;
}

.dswie-step-arrow {
    color: #374151;
}

.dswie-step-content {
    position: relative;
}

.dswie-field {
    margin-bottom: 16px;
}

.dswie-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dswie-coin-input {
    display: flex;
    gap: 8px;
    background: #262a36;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 4px;
    transition: border-color 0.2s;
}

.dswie-coin-input:focus-within {
    border-color: #10b981;
}

.dswie-coin-input select {
    background: #1f2937;
    color: #e4e6eb;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-width: 140px;
    outline: none;
}

.dswie-coin-input select option {
    background: #1f2937;
    color: #e4e6eb;
}

.dswie-coin-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e4e6eb;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 12px;
    outline: none;
    min-width: 0;
}

.dswie-coin-input input::placeholder {
    color: #4b5563;
    font-weight: 400;
}

.dswie-balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding: 0 4px;
    font-size: 13px;
    color: #6b7280;
}

.dswie-minimum {
    color: #f59e0b;
    font-size: 12px;
}

.dswie-rate {
    color: #9ca3af;
}

.dswie-arrow-down {
    text-align: center;
    margin: 4px 0;
}

.dswie-icon-btn {
    background: #262a36;
    border: 1px solid #374151;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dswie-icon-btn:hover {
    background: #374151;
    color: #10b981;
    border-color: #10b981;
}

.dswie-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
}

.dswie-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dswie-btn-primary {
    background: #10b981;
    color: #ffffff;
}

.dswie-btn-primary:hover {
    background: #059669;
}

.dswie-btn-secondary {
    background: #374151;
    color: #d1d5db;
}

.dswie-btn-secondary:hover {
    background: #4b5563;
}

.dswie-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.dswie-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dswie-summary {
    background: #262a36;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.dswie-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #374151;
}

.dswie-summary-row:last-child {
    border-bottom: none;
}

.dswie-summary-label {
    color: #9ca3af;
    font-size: 14px;
}

.dswie-summary-value {
    color: #e4e6eb;
    font-weight: 600;
    font-size: 14px;
}

.dswie-confirm-details {
    background: #262a36;
    border-radius: 12px;
    padding: 20px;
}

.dswie-confirm-title {
    font-size: 16px;
    font-weight: 600;
    color: #e4e6eb;
    margin: 0 0 16px;
}

.dswie-confirm-table {
    width: 100%;
    border-collapse: collapse;
}

.dswie-confirm-table td {
    padding: 10px 0;
    border-bottom: 1px solid #374151;
    font-size: 14px;
}

.dswie-confirm-table td:first-child {
    color: #9ca3af;
    width: 35%;
}

.dswie-confirm-table td:last-child {
    color: #e4e6eb;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.dswie-confirm-table tr:last-child td {
    border-bottom: none;
}

.dswie-address-cell {
    font-size: 12px !important;
    font-family: monospace;
    word-break: break-all;
}

.dswie-error {
    background: #dc262620;
    border: 1px solid #dc2626;
    border-radius: 10px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 14px;
    margin-top: 16px;
}

.dswie-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 16px;
    color: #9ca3af;
    font-size: 14px;
}

.dswie-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-top-color: #10b981;
    border-radius: 50%;
    animation: dswie-spin 0.6s linear infinite;
}

@keyframes dswie-spin {
    to { transform: rotate(360deg); }
}

.dswie-deposit-info {
    text-align: center;
}

.dswie-deposit-amount {
    margin-bottom: 20px;
}

.dswie-deposit-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dswie-deposit-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.dswie-deposit-address-box {
    background: #262a36;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.dswie-qr-container {
    margin: 16px auto;
    width: 200px;
    height: 200px;
}

.dswie-qr-container img {
    border-radius: 8px;
}

.dswie-qr-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dswie-address-copy {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.dswie-address-input {
    flex: 1;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 10px 12px;
    color: #10b981;
    font-size: 12px;
    font-family: monospace;
    outline: none;
    text-align: center;
}

.dswie-swap-id-info {
    margin-bottom: 16px;
}

.dswie-swap-id-info code {
    background: #1f2937;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #60a5fa;
}

.dswie-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px;
    background: #262a36;
    border-radius: 10px;
}

.dswie-timer-label {
    color: #9ca3af;
    font-size: 13px;
}

.dswie-timer-value {
    font-size: 20px;
    font-weight: 700;
    color: #f59e0b;
    font-family: monospace;
    letter-spacing: 2px;
}

.dswie-status-tracker {
    margin-bottom: 20px;
}

.dswie-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #6b7280;
    font-size: 14px;
    border-left: 2px solid #374151;
    margin-left: 10px;
    transition: all 0.3s;
}

.dswie-status-item:first-child {
    border-left-color: transparent;
}

.dswie-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
    flex-shrink: 0;
    transition: all 0.3s;
}

.dswie-status-item.active .dswie-status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    animation: dswie-pulse 1.5s infinite;
}

.dswie-status-item.done .dswie-status-dot {
    background: #10b981;
}

.dswie-status-item.active {
    color: #f59e0b;
    font-weight: 600;
}

.dswie-status-item.done {
    color: #10b981;
}

@keyframes dswie-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dswie-txids {
    background: #262a36;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.dswie-txid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    gap: 8px;
}

.dswie-txid-label {
    color: #9ca3af;
    font-size: 12px;
    white-space: nowrap;
}

.dswie-txid-value {
    font-size: 11px;
    color: #60a5fa;
    word-break: break-all;
    text-align: right;
    background: #1f2937;
    padding: 2px 8px;
    border-radius: 4px;
}

.dswie-error-box {
    background: #dc262620;
    border: 1px solid #dc2626;
    border-radius: 10px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 14px;
    margin-bottom: 16px;
}

.dswie-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.dswie-status-pending_deposit {
    background: #f59e0b20;
    color: #f59e0b;
}

.dswie-status-confirming {
    background: #3b82f620;
    color: #3b82f6;
}

.dswie-status-sending {
    background: #8b5cf620;
    color: #8b5cf6;
}

.dswie-status-completed {
    background: #10b98120;
    color: #10b981;
}

.dswie-status-expired {
    background: #6b728020;
    color: #6b7280;
}

.dswie-status-failed {
    background: #dc262620;
    color: #dc2626;
}

@media (max-width: 600px) {
    .dswie-card {
        padding: 20px;
        border-radius: 12px;
    }

    .dswie-coin-input {
        flex-direction: column;
    }

    .dswie-coin-input select {
        min-width: 100%;
    }

    .dswie-actions {
        flex-direction: column;
    }

    .dswie-btn {
        width: 100%;
        text-align: center;
    }

    .dswie-address-copy {
        flex-direction: column;
    }

    .dswie-txid-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
