/* Trust Wallet Dark Theme Clone */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #1b1b1b;
    --card-bg: #1c1c1e;
    --primary-color: #00ff93;
    /* Paste/Scan Text & Icons */
    --btn-bg: #007847;
    /* Next Button Background */
    --primary-hover: #04b868;
    --text-color: #ffffff;
    --text-secondary: #b4b4b4;
    /* Address, Destination, Amount Labels */
    --border-color: #2c2c2e;
    --input-bg: #1c1c1e;
    --danger-color: #ff3b30;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

.header-title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.container {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.input-container {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border 0.2s;
    overflow: hidden;
}

.input-container:focus-within {
    border-color: var(--primary-color);
}

.input-field {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    flex: 1;
    min-width: 0;
    /* Allow shrinking */
    outline: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.input-field::placeholder {
    color: #555;
    font-weight: 500;
}

/* Icons and Buttons inside Input */
.input-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.action-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.action-icon {
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
}

.action-icon-svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Network Selector */
/* Network Selector */
.network-selector {
    background-color: #242424;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: fit-content;
}

.network-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.network-name {
    font-size: 14px;
    font-weight: 600;
    color: #777777;
}

.network-arrow {
    color: var(--text-secondary);
    margin-left: 12px;
}

/* Amount Input Specifics */
.currency-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    margin-right: 4px;
    white-space: nowrap;
}

.usd-value {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
}

/* Next Button */
.bottom-section {
    margin-top: auto;
    padding: 16px 0;
}

.next-btn {
    width: 100%;
    background-color: var(--btn-bg);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.next-btn:active {
    background-color: var(--primary-hover);
    transform: scale(0.98);
}