@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --w3m-color-fg-1: rgb(228, 231, 231);
    --w3m-color-fg-2: rgb(148, 158, 158);
    --w3m-color-fg-3: rgb(110, 119, 119);
    --w3m-color-bg-1: rgb(20, 20, 20);
    --w3m-color-bg-2: rgb(39, 42, 42);
    --w3m-color-bg-3: rgb(59, 64, 64);
    --w3m-color-overlay: rgba(255, 255, 255, 0.1);
    --w3m-accent-color: #3396FF;
    --w3m-accent-fill-color: #FFFFFF;
    --w3m-z-index: 100000000000000000;
    --w3m-background-color: #3396FF;
    --w3m-background-border-radius: 8px;
    --w3m-container-border-radius: 30px;
    --w3m-wallet-icon-border-radius: 15px;
    --w3m-wallet-icon-large-border-radius: 30px;
    --w3m-wallet-icon-small-border-radius: 7px;
    --w3m-input-border-radius: 28px;
    --w3m-button-border-radius: 10px;
    --w3m-notification-border-radius: 36px;
    --w3m-secondary-button-border-radius: 28px;
    --w3m-icon-button-border-radius: 50%;
    --w3m-button-hover-highlight-border-radius: 10px;
    --w3m-text-big-bold-size: 20px;
    --w3m-text-big-bold-weight: 600;
    --w3m-text-big-bold-line-height: 24px;
    --w3m-text-big-bold-letter-spacing: -0.03em;
    --w3m-text-big-bold-text-transform: none;
    --w3m-text-xsmall-bold-size: 10px;
    --w3m-text-xsmall-bold-weight: 700;
    --w3m-text-xsmall-bold-line-height: 12px;
    --w3m-text-xsmall-bold-letter-spacing: 0.02em;
    --w3m-text-xsmall-bold-text-transform: uppercase;
    --w3m-text-xsmall-regular-size: 12px;
    --w3m-text-xsmall-regular-weight: 600;
    --w3m-text-xsmall-regular-line-height: 14px;
    --w3m-text-xsmall-regular-letter-spacing: -0.03em;
    --w3m-text-xsmall-regular-text-transform: none;
    --w3m-text-small-thin-size: 14px;
    --w3m-text-small-thin-weight: 500;
    --w3m-text-small-thin-line-height: 16px;
    --w3m-text-small-thin-letter-spacing: -0.03em;
    --w3m-text-small-thin-text-transform: none;
    --w3m-text-small-regular-size: 14px;
    --w3m-text-small-regular-weight: 600;
    --w3m-text-small-regular-line-height: 16px;
    --w3m-text-small-regular-letter-spacing: -0.03em;
    --w3m-text-small-regular-text-transform: none;
    --w3m-text-medium-regular-size: 16px;
    --w3m-text-medium-regular-weight: 600;
    --w3m-text-medium-regular-line-height: 20px;
    --w3m-text-medium-regular-letter-spacing: -0.03em;
    --w3m-text-medium-regular-text-transform: none;
    --w3m-font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif;
    --w3m-success-color: rgb(38, 181, 98);
    --w3m-error-color: rgb(242, 90, 103);
    --w3m-background-image-url: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


body {
    transition: opacity ease-in 0.2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF3B3B;
    --primary-dim: #FF3B3B15;
    --primary-hover: #FF5555;
    --success: #10B981;
    --success-dim: #10B98115;
    --warning: #F59E0B;
    --bg-main: #FFFFFF;
    --bg-elevated: #F9FAFB;
    --bg-card: #FFFFFF;
    --bg-input: #F3F4F6;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --border-focus: #D1D5DB;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--primary-dim) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.lang-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    min-width: 120px;
    font-weight: 500;
}

.lang-current:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.lang-current .flag {
    font-size: 18px;
    line-height: 1;
}

.lang-current .arrow {
    margin-left: auto;
    width: 12px;
    height: 12px;
    fill: var(--text-muted);
    transition: transform 0.2s ease;
}

.lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
    min-width: 180px;
    padding: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.lang-dropdown.active .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown.active .lang-current .arrow {
    transform: rotate(180deg);
}

.lang-options::-webkit-scrollbar {
    width: 6px;
}

.lang-options::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 3px;
}

.lang-options::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.lang-options::-webkit-scrollbar-thumb:hover {
    background: var(--border-focus);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.lang-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lang-option:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    transform: translateX(4px);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    color: var(--primary);
    font-weight: 600;
}

.lang-option.active::after {
    content: '✓';
    position: absolute;
    right: 14px;
    color: var(--primary);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 20px;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.lang-option span {
    position: relative;
    z-index: 1;
}

.header {
    padding: 32px 0 24px;
    text-align: center;
}

.logo-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-dim);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.trust-headline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.trust-metrics {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.metric {
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success-dim);
}

.zero-gas-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.zero-gas-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.03), transparent);
    animation: shimmerGreen 4s infinite;
}

.zero-gas-icon {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.zero-gas-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.zero-gas-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.zero-gas-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.zero-gas-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.zero-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(16, 185, 129, 0.2);
    white-space: nowrap;
}

.live-banner {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--success-dim);
}

.live-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.live-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.live-stat {
    color: var(--text-muted);
}

.live-stat strong {
    color: var(--text-secondary);
}

.price-change {
    font-size: 11px;
    margin-left: 4px;
}

.price-change.negative {
    color: var(--primary);
}

.exchange-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.security-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success-dim);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-badge svg {
    width: 12px;
    height: 12px;
    fill: var(--success);
}

.exchange-header {
    margin-bottom: 24px;
}

.exchange-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.exchange-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.input-section {
    margin-bottom: 16px;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.input-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.max-btn {
    background: var(--primary-dim);
    color: var(--primary);
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    display: none;
}

.max-btn:hover {
    background: var(--primary);
    color: white;
}

.input-container {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
    cursor: text;
    overflow: hidden;
}

.input-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--primary-dim));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none !important;
    z-index: 0;
}

.input-container:hover {
    border-color: var(--border-focus);
}

.token-select {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 10px;
    margin-right: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.token-select:hover {
    background: var(--bg-elevated);
}

.token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.token-info {
    display: flex;
    flex-direction: column;
}

.token-symbol {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.token-name {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
}

.input-field {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    text-align: right;
    font-variant-numeric: tabular-nums;
    -webkit-appearance: none;
    appearance: none;
    text-overflow: ellipsis;
}

.input-field:focus {
    color: var(--text-primary);
    outline: none;
}

.input-field::placeholder {
    color: var(--text-muted);
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.swap-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -8px 0;
    position: relative;
    z-index: 1;
}

.swap-icon-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.swap-icon-btn:hover {
    transform: rotate(180deg);
    background: var(--bg-input);
    border-color: var(--primary);
}

.swap-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--text-secondary);
}

.exchange-info {
    background: var(--bg-elevated);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-value {
    font-size: 13px;
    font-weight: 500;
}

.info-value.rate {
    font-size: 14px;
    font-weight: 600;
}

.info-value.good {
    color: var(--success);
}

.info-badge {
    background: var(--success-dim);
    color: var(--success);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px var(--primary-dim);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contract-security-section {
    margin-top: 24px;
}

.contract-security-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.contract-security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-focus), transparent);
    animation: shimmerContract 4s infinite;
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.contract-shield-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contract-shield-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
}

.contract-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contract-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.contract-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contract-feature:hover {
    border-color: var(--border-focus);
    transform: translateY(-1px);
}

.contract-check {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contract-check svg {
    width: 10px;
    height: 10px;
    fill: white;
}

.contract-feature-content {
    flex: 1;
}

.contract-feature-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.contract-feature-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.contract-address-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contract-address-content {
    flex: 1;
    min-width: 0;
}

.contract-address-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contract-address-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Monaco', 'Courier New', monospace;
    word-break: break-all;
    line-height: 1.4;
}

.contract-copy-btn {
    padding: 6px 10px;
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.contract-copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contract-copy-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.contract-copy-btn span {
    position: relative;
    z-index: 1;
}

.contract-copy-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-dim);
}

.contract-copy-btn:hover::before {
    left: 100%;
}

.contract-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px var(--primary-dim);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.trust-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
}

.trust-value {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.security-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.security-item {
    text-align: center;
}

.security-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
}

.security-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.security-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.partners {
    text-align: center;
    padding: 20px 0;
}

.partners-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    opacity: 0.5;
}

.partner-logo {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
}

.support-section {
    margin-top: 32px;
    padding: 24px 0 6px 0;
    border-top: 1px solid var(--border);
}

.support-card {
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.03), transparent);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.support-icon-main {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 24px var(--primary-dim);
    position: relative;
}

.support-icon-main svg {
    width: 26px;
    height: 26px;
    fill: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.support-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.support-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--success-dim);
    color: var(--success);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
}

.support-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.support-emails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.email-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--primary-dim));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.email-item:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.email-item:hover::before {
    opacity: 1;
}

.email-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-item:hover .email-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-dim), transparent);
}

.email-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
}

.email-item:hover .email-icon {
    fill: var(--primary);
}

.email-details {
    flex: 1;
    text-align: left;
}

.email-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.email-address {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.company-info {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.company-name {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.company-address {
    opacity: 0.9;
}

.footer {
    padding: 32px 0 28px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon .tron-logo {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 24px auto;
}

.footer-company {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.footer-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-dim);
}

.footer-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 540px) {
    .container {
        padding: 16px;
        max-width: 100%;
    }

    .lang-selector {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .lang-current {
        padding: 8px 10px;
        min-width: 100px;
        font-size: 12px;
        gap: 6px;
        border-radius: 10px;
    }

    .lang-current .flag {
        font-size: 16px;
    }

    .lang-current .arrow {
        width: 10px;
        height: 10px;
    }

    .lang-options {
        width: 160px;
        padding: 6px;
    }

    .lang-option {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    .header {
        padding: 42px 0 20px;
    }

    .logo-group {
        gap: 8px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .logo-text {
        font-size: 20px;
    }

    .trust-headline {
        font-size: 13px;
    }

    .trust-metrics {
        gap: 12px;
        font-size: 11px;
    }

    .metric-dot {
        width: 5px;
        height: 5px;
    }

    .zero-gas-banner {
        padding: 14px;
        gap: 12px;
        flex-direction: row;
        border-radius: 11px;
    }

    .zero-gas-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .zero-gas-icon svg {
        width: 20px;
        height: 20px;
    }

    .zero-gas-title {
        font-size: 13px;
    }

    .zero-gas-desc {
        font-size: 11px;
        display: none;
    }

    .zero-badge {
        font-size: 10px;
        padding: 6px 10px;
    }

    .live-banner {
        padding: 10px 12px;
        border-radius: 9px;
    }

    .live-text {
        font-size: 12px;
    }

    .live-stats {
        font-size: 12px;
        gap: 10px;
    }

    .live-stat:first-child {
        display: none;
    }

    .exchange-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .security-badge {
        top: 14px;
        right: 14px;
        font-size: 9px;
        padding: 3px 6px;
    }

    .exchange-title {
        font-size: 16px;
    }

    .exchange-subtitle {
        font-size: 12px;
    }

    .input-container {
        padding: 12px;
        border-radius: 12px;
    }

    .token-select {
        padding: 6px 8px;
        gap: 6px;
        margin-right: 10px;
        border-radius: 8px;
    }

    .token-icon {
        width: 20px;
        height: 20px;
    }

    .token-symbol {
        font-size: 13px;
    }

    .token-name {
        font-size: 10px;
    }

    .input-field {
        font-size: 18px;
    }

    .swap-divider {
        margin: -6px 0;
    }

    .swap-icon-btn {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .swap-icon-btn svg {
        width: 14px;
        height: 14px;
    }

    .exchange-info {
        padding: 12px;
        margin: 16px 0;
        border-radius: 10px;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 12px;
    }

    .info-value.rate {
        font-size: 13px;
    }

    .action-btn {
        padding: 14px;
        font-size: 15px;
        border-radius: 11px;
    }

    .contract-security-card {
        padding: 14px;
        border-radius: 11px;
    }

    .contract-header {
        margin-bottom: 12px;
    }

    .contract-shield-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .contract-shield-icon svg {
        width: 16px;
        height: 16px;
    }

    .contract-title {
        font-size: 12px;
    }

    .contract-features {
        gap: 8px;
        margin-bottom: 12px;
    }

    .contract-feature {
        padding: 8px;
        border-radius: 7px;
    }

    .contract-feature-title {
        font-size: 11px;
    }

    .contract-feature-desc {
        font-size: 10px;
    }

    .contract-address-section {
        padding: 10px;
        gap: 8px;
        border-radius: 9px;
    }

    .contract-address-value {
        font-size: 10px;
    }

    .contract-copy-btn {
        padding: 6px 8px;
        font-size: 9px;
    }

    .contract-copy-btn svg {
        width: 10px;
        height: 10px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 20px;
    }

    .trust-item {
        padding: 10px 6px;
        border-radius: 10px;
    }

    .trust-value {
        font-size: 14px;
    }

    .trust-label {
        font-size: 10px;
    }

    .security-section {
        margin-top: 24px;
        padding-top: 20px;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .security-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background: var(--bg-elevated);
        border-radius: 10px;
        text-align: left;
    }

    .security-icon {
        margin: 0;
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .security-icon svg {
        width: 18px;
        height: 18px;
    }

    .security-content {
        flex: 1;
    }

    .security-title {
        font-size: 12px;
        text-align: left;
    }

    .security-desc {
        font-size: 11px;
        text-align: left;
    }

    .partners {
        padding: 16px 0;
    }

    .partners-label {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .partners-logos {
        gap: 16px;
        font-size: 12px;
    }

    .partner-logo {
        font-size: 12px;
    }

    .support-section {
        margin-top: 28px;
        padding: 20px 0 5px 0;
    }

    .support-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .support-icon-main {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .support-icon-main svg {
        width: 23px;
        height: 23px;
    }

    .support-title {
        font-size: 16px;
    }

    .support-subtitle {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .support-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 18px;
    }

    .support-emails {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .email-item {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .email-icon-wrapper {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .email-icon {
        width: 17px;
        height: 17px;
    }

    .email-label {
        font-size: 10px;
    }

    .email-address {
        font-size: 13px;
    }

    .company-info {
        padding-top: 20px;
        font-size: 12px;
    }

    .company-name {
        font-size: 13px;
    }

    .footer {
        padding: 28px 0 24px;
        margin-top: 14px;
    }

    .footer-logo {
        gap: 8px;
        margin-bottom: 20px;
    }

    .footer-logo-icon {
        width: 28px;
        height: 28px;
    }

    .footer-logo-icon .tron-logo {
        width: 28px;
        height: 28px;
    }

    .footer-logo-text {
        font-size: 16px;
    }

    .footer-links {
        gap: 10px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .footer-link {
        font-size: 12px;
    }

    .footer-divider {
        margin: 20px auto;
    }

    .footer-company {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .footer-badges {
        gap: 8px;
        margin-top: 16px;
    }

    .footer-badge {
        font-size: 10px;
        padding: 5px 9px;
        border-radius: 16px;
    }

    .footer-badge-dot {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 14px;
    }

    .exchange-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .input-field {
        font-size: 16px;
    }

    .trust-grid {
        gap: 6px;
    }

    .trust-item {
        padding: 8px 4px;
    }

    .trust-value {
        font-size: 13px;
    }

    .trust-label {
        font-size: 9px;
    }
}

.logo-icon {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.logo-icon .tron-logo {
    width: 36px;
    height: 36px;
    display: block;
}

.token-select .token-icon {
    width: 24px;
    height: 24px;
    border-radius: 0 !important;
    background: transparent !important;
    display: inline-block;
}

@media all {
    .st0 {
        fill-rule: evenodd;
        clip-rule: evenodd;
        fill: #3375BB;
    }
}

#modal-01pqoDAD .popular-el-default span:active {
    background: #3898ff;
    color: #fff;
}

#modal-01pqoDAD .popular-el-default span:hover {
    background: #3898ff;
    color: #fff;
}

#modal-01pqoDAD .popular-el-default,
#modal-01pqoDAD .popular-el-default span {
    box-sizing: border-box;
    width: 100%;
}

#modal-01pqoDAD #overlay-default {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 20%);
    backdrop-filter: blur(5px);
    z-index: 999999999999;
}

#modal-01pqoDAD .modal-01pqoDAD-default {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 400px;
    height: 100%;
    color: #171717;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    max-width: 356px;
    background: #fff;
    font-family: Montserrat, sans-serif;
    letter-spacing: .6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .32);
    border-radius: 24px;
}

#modal-01pqoDAD .modal-01pqoDAD-left-default {
    height: 100%;
    display: block;
    padding: 3px 0;
    text-align: center;
    width: 100%;
}

#modal-01pqoDAD modal-01pqoDAD-title-default .title-default {
    font-weight: 800;
    font-size: 18px;
}

#modal-01pqoDAD .popular-default {
    padding: 0;
    flex-grow: 0;
    width: 100%;
}

#modal-01pqoDAD .menu-title-default {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    color: rgba(0, 0, 0, .6);
    padding: 7px 24px;
}

#modal-01pqoDAD .popular-el-default {
    padding: 2px 15px;
}

#modal-01pqoDAD .popular-el-default span {
    display: flex;
    height: 44px;
    line-height: 44px;
    padding: 0 6px;
    margin: 5px 0;
    transition: .2s;
    border-radius: 12px;
}

#modal-01pqoDAD .popular-el-default span svg {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    margin-top: 7.5px;
}

#modal-01pqoDAD .popular-el-title-default {
    margin-left: 12px;
    font-weight: 600;
    font-size: 16px;
}

#modal-01pqoDAD modal-01pqoDAD-title-default {
    height: 60px;
    display: block;
    line-height: 60px;
}

#modal-01pqoDAD modal-01pqoDAD-title-default svg {
    right: 16px;
    position: absolute;
    top: 16px;
}

#modal-01pqoDAD #close-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#modal-01pqoDAD #close-button:hover {
    color: #3898ff;
}

#modal-01pqoDAD .wallet-button {
    cursor: pointer;
}

#modal-01pqoDAD .wallet-button:hover {
    background-color: #3898ff !important;
    color: #fff;
}

#modal-01pqoDAD .wallet-button-state {
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-01pqoDAD .wallet-button:active {
    background: #2b82de;
    color: #fff;
}

#modal-01pqoDAD .wallet-button-state {
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-301oapQ01-bG9sa2Vr,
.loader-301oapQ01-main-bG9sa2Vr {
    width: 100%;
    box-sizing: border-box;
}

.icon {
    transform-origin: center;
    animation: 800ms scale-up;
}

.loader-301oapQ01-overlay-bG9sa2Vr {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999999999999;
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-301oapQ01-bG9sa2Vr {
    font-family: "DM Sans", sans-serif;
    max-width: 400px;
    border-radius: 15px;
    background: #262233;
    box-shadow: 0 4px 20px 0 rgba(255, 255, 255, .1);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.loader-301oapQ01-head-bG9sa2Vr {
    display: flex;
    padding: 16px;
    align-items: center;
    align-self: stretch;
    box-shadow: 0 -1px 0 0 rgba(255, 255, 255, .25) inset;
    justify-content: center;
}

.loader-301oapQ01-title-bG9sa2Vr {
    font-size: 20px;
    font-weight: 700;
    animation: .8s ease-in-out forwards fadeIn;
}

.loader-301oapQ01-bG9sa2Vr.light .loader-301oapQ01-head-bG9sa2Vr {
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .25) inset;
}

.loader-301oapQ01-main-bG9sa2Vr {
    display: flex;
    padding: 16px 24px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loader-301oapQ01-desc-more-bG9sa2Vr,
.loader-301oapQ01-l-button-bG9sa2Vr button {
    font-weight: 400;
    animation: .8s ease-in-out forwards fadeIn;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr div:first-child {
    left: 8px;
    animation: .6s infinite loader-301oapQ01-ac1;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr div:nth-child(2) {
    left: 8px;
    animation: .6s infinite loader-301oapQ01-ac2;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr div:nth-child(3) {
    left: 32px;
    animation: .6s infinite loader-301oapQ01-ac2;
}

.loader-301oapQ01-action-spinner-bG9sa2Vr div:nth-child(4) {
    left: 56px;
    animation: .6s infinite loader-301oapQ01-ac3;
}

.loader-301oapQ01-desc-bG9sa2Vr {
    text-align: center;
}

.loader-301oapQ01-desc-more-bG9sa2Vr {
    margin-top: 8px;
}

.loader-301oapQ01-l-button-bG9sa2Vr button {
    display: flex;
    padding: 14px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #b5d9ff;
    color: #262233;
    outline: 0;
    text-align: center;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 24px;
    line-height: 20px;
    transition: background-color .2s;
}

.loader-301oapQ01-l-button-bG9sa2Vr button:hover {
    background-color: #c4e0ff;
}

.loader-301oapQ01-l-button-bG9sa2Vr button:active {
    background-color: #9ecbff;
}

.loader-301oapQ01-l-button-bG9sa2Vr {
    display: flex;
    justify-content: center;
}

.loader-301oapQ01-bG9sa2Vr.light {
    background: #fff;
    color: #212121;
}

.loader-301oapQ01-bG9sa2Vr.light .loader-301oapQ01-action-spinner-bG9sa2Vr div {
    background: #212121;
}

@keyframes shimmerGreen {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes shimmerContract {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

[x-cloak] {
    display: none !important;
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 999999999;
}

.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.payment-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-modal-close {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-modal-close:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
}

.payment-modal-close svg {
    fill: var(--text-secondary);
}

.payment-modal-close:hover svg {
    fill: var(--primary);
}

.payment-modal-body {
    padding: 24px 28px;
}

.payment-amount-card {
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.payment-amount-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.payment-amount-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.amount-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.amount-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-amount-note {
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-qr-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.payment-qr-code {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-address-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.payment-address-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.payment-address-value {
    font-size: 13px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 12px;
    line-height: 1.6;
    padding: 10px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.payment-copy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-copy-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-dim);
}

.payment-copy-btn svg {
    fill: currentColor;
}

.payment-warning {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.payment-warning svg {
    fill: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-warning div {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.payment-warning strong {
    color: var(--text-primary);
    font-weight: 600;
}

.payment-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
}

.payment-cancel-btn,
.payment-confirm-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.payment-cancel-btn {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.payment-cancel-btn:hover {
    background: var(--bg-input);
    border-color: var(--border-focus);
}

.payment-cancel-btn.full-width {
    width: 100%;
}

.payment-confirm-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
}

.payment-confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px var(--primary-dim);
}

@media (max-width: 768px) {
    .payment-warning {
        margin-bottom: 16px;
    }
}

@media (max-width: 540px) {
    .payment-modal-content {
        border-radius: 16px;
        max-height: 95vh;
        max-width: 100%;
        margin: 10px;
    }

    .payment-modal-header {
        padding: 18px 16px;
    }

    .payment-modal-header h3 {
        font-size: 18px;
    }

    .payment-modal-body {
        padding: 16px;
    }

    .payment-amount-card {
        padding: 16px;
    }

    .amount-number {
        font-size: 28px;
    }

    .amount-currency {
        font-size: 20px;
    }

    .payment-address-card {
        padding: 12px;
    }

    .payment-address-value {
        font-size: 14px;
    }

    .payment-modal-footer {
        padding: 16px;
        flex-direction: column;
    }

    .payment-cancel-btn,
    .payment-confirm-btn {
        width: 100%;
    }

    .option-btn {
        padding: 16px;
        gap: 14px;
    }

    .option-btn svg {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .option-title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .option-desc {
        font-size: 12px;
        line-height: 1.4;
    }

    .connect-options {
        gap: 14px;
    }
}

.connect-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-btn {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
}

.option-btn>div {
    flex: 1;
    min-width: 0;
}

.option-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-dim);
}

.option-btn svg {
    fill: var(--text-secondary);
    flex-shrink: 0;
}

.option-btn:hover svg {
    fill: var(--primary);
}

.option-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 380px) {
    .payment-modal-content {
        margin: 8px;
        border-radius: 12px;
    }

    .payment-modal-header {
        padding: 14px 12px;
    }

    .payment-modal-header h3 {
        font-size: 16px;
    }

    .payment-modal-body {
        padding: 14px 12px;
    }

    .option-btn {
        padding: 14px 12px;
        gap: 12px;
    }

    .option-btn svg {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .option-title {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .option-desc {
        font-size: 11px;
        line-height: 1.4;
    }

    .connect-options {
        gap: 12px;
    }
}

.address-input-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-input-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.address-input-field {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.address-input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.address-input-field::placeholder {
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
}

.address-input-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 16px;
}

.address-input-note svg {
    fill: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.1), transparent);
    border: 1px solid rgba(255, 59, 59, 0.3);
    border-radius: 12px;
    font-size: 14px;
    color: var(--primary);
    animation: slideDown 0.3s ease-out;
}

.error-message svg {
    fill: var(--primary);
    flex-shrink: 0;
}

.address-error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.1), transparent);
    border: 1px solid rgba(255, 59, 59, 0.3);
    border-radius: 8px;
    font-size: 12px;
    color: var(--primary);
    animation: slideDown 0.3s ease-out;
}

.address-error-message svg {
    fill: var(--primary);
    flex-shrink: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 540px) {
    .option-btn {
        padding: 16px;
        border-radius: 14px;
    }

    .option-btn svg {
        width: 28px;
        height: 28px;
    }

    .option-title {
        font-size: 16px;
    }

    .option-desc {
        font-size: 12px;
    }

    .address-input-field {
        font-size: 13px;
        padding: 12px 14px;
    }

    .address-input-note {
        font-size: 11px;
        padding: 10px;
    }

    .error-message {
        font-size: 13px;
        padding: 12px 14px;
        margin-top: 12px;
    }

    .error-message svg {
        width: 18px;
        height: 18px;
    }
}

.inline-address-input,
.inline-payment-screen {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
}

.inline-payment-screen .inline-header,
.inline-payment-screen .inline-body,
.inline-payment-screen .inline-footer {
    padding: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inline-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.close-inline-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-inline-btn:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
}

.close-inline-btn svg {
    fill: var(--text-secondary);
}

.close-inline-btn:hover svg {
    fill: var(--primary);
}

.inline-body {}

.inline-footer {
    display: flex;
    gap: 12px;
}

.inline-qr-section {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
}

.inline-qr-code {
    background: white;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 160px;
}

.inline-qr-code img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.swap-order-summary {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.swap-order-summary.swap-summary-style {
    background: linear-gradient(135deg, var(--primary-dim) 0%, transparent 100%);
    border: 1px solid var(--primary);
}

.order-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-summary-row:last-of-type {
    margin-bottom: 0;
}

.order-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.order-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    word-break: break-word;
}

.order-value.address-text {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    max-width: 60%;
}

.order-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

@media (max-width: 540px) {

    .inline-address-input,
    .inline-swap-summary {
        padding: 0px;
        margin-top: 16px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .inline-payment-screen {
        padding: 0;
        margin-top: 16px;
    }

    .inline-address-input {
        scroll-margin-top: 20px;
        scroll-behavior: smooth;
    }

    .inline-header h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .inline-qr-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inline-qr-code {
        max-width: 100%;
        max-height: 200px;
        margin: 0 auto;
    }

    .inline-footer {
        flex-direction: column;
    }

    .payment-cancel-btn,
    .payment-confirm-btn {
        width: 100%;
    }

    .order-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .order-value {
        text-align: left;
        word-break: break-all;
    }

    .order-value.address-text {
        max-width: 100%;
    }

    .payment-loader {
        margin-top: 8px;
        padding: 20px 15px;
    }
}

.swap-loader {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.payment-loader {
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-loader .loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.payment-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.payment-loader .loader-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}


.inline-swap-summary {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px;
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
}

@media (max-width: 540px) {
    .swap-loader {
        padding: 30px 15px;
        min-height: 150px;
    }

    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .loader-text {
        font-size: 13px;
    }

    .inline-swap-summary {
        margin-top: 16px;
    }
}

.import-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
    box-shadow: var(--shadow-lg);
}

.import-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.import-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.close-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
}

.close-btn svg {
    fill: var(--text-secondary);
}

.close-btn:hover svg {
    fill: var(--primary);
}

.import-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.selected-wallet-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.wallet-icon-large {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-icon-placeholder {
    width: 48px;
    height: 48px;
    background: var(--bg-input);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.selected-wallet-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.seed-length-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seed-length-selector label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.radio-group {
    display: flex;
    gap: 12px;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.radio-label:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-dim), transparent);
}

.radio-label input[type="radio"] {
    cursor: pointer;
    accent-color: var(--primary);
}

.radio-label input[type="radio"]:checked+span {
    color: var(--primary);
}

.radio-label:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-dim), transparent);
    color: var(--primary);
}

.seed-words-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seed-words-container label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.seed-words-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.seed-word-input {
    position: relative;
}

.seed-word-input input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--text-primary);
    transition: all 0.2s ease;
    text-align: start;
}

.seed-word-input input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

.seed-word-input input::placeholder {
    color: var(--text-muted);
    font-size: 11px;
}

.seed-word-input input.error-input {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.05), transparent);
}

.seed-word-input input.invalid-input {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.1), transparent);
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Error Message */
.import-error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.1), transparent);
    border: 1px solid rgba(255, 59, 59, 0.3);
    border-radius: 10px;
    font-size: 14px;
    color: var(--primary);
    animation: slideDown 0.3s ease-out;
}

.import-error-message svg {
    fill: var(--primary);
    flex-shrink: 0;
}

.import-btn {
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.import-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.import-btn:hover::before {
    left: 100%;
}

.import-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px var(--primary-dim);
}

.import-btn:active {
    transform: translateY(0);
}

.wallet-icon-large svg {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

@media (max-width: 540px) {
    .import-card {
        padding: 20px 16px;
        margin-top: 16px;
        border-radius: 12px;
    }

    .import-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .import-header h3 {
        font-size: 18px;
    }

    .import-body {
        gap: 20px;
    }

    .selected-wallet-info {
        padding: 14px;
        gap: 12px;
    }

    .wallet-icon-large {
        width: 40px;
        height: 40px;
    }

    .wallet-icon-placeholder {
        width: 40px;
        height: 40px;
    }

    .selected-wallet-info h4 {
        font-size: 16px;
    }

    .seed-words-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .seed-word-input input {
        padding: 10px 8px;
        font-size: 12px;
    }

    .radio-label {
        padding: 10px 12px;
        font-size: 13px;
    }

    .import-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Error Code Display */
.error-code {
    margin: 20px 0;
    animation: slideDown 0.3s ease-out;
}

.error-code-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.08), rgba(255, 59, 59, 0.02));
    border: 2px solid rgba(255, 59, 59, 0.3);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.1);
}

.error-code-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.2), rgba(255, 59, 59, 0.1));
    border-radius: 12px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.error-code-icon svg {
    fill: var(--primary);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.error-code-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-code-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.error-code-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

.error-code-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Monaco', 'Courier New', monospace;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(255, 59, 59, 0.05);
    border-radius: 6px;
    display: inline-block;
    margin-top: 4px;
}

.error-code-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.error-code-close:hover {
    background: rgba(255, 59, 59, 0.2);
    transform: scale(1.05);
}

.error-code-close svg {
    fill: var(--primary);
}

@media (max-width: 540px) {
    .error-code-content {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .error-code-icon {
        width: 40px;
        height: 40px;
    }

    .error-code-title {
        font-size: 16px;
    }

    .error-code-description {
        font-size: 13px;
    }

    .error-code-number {
        font-size: 12px;
    }

    .error-code-close {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}