/* trading.css */
.trading-section {
    margin: 20px 0;
    padding: 20px;
}

.trading-card {
    background: rgba(45, 90, 39, 0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.token-info {
    margin: 20px 0;
}

.price-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
    text-shadow: var(--text-glow);
}

.price-value {
    color: var(--primary-green);
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: var(--text-glow);
    transition: all 0.3s ease;
}

.price-chart {
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.trading-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-container {
    position: relative;
    width: 100%;
}

.trading-input {
    width: 100%;
    padding: 12px;
    padding-right: 60px;
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--primary-green);
    font-family: inherit;
    font-size: 1.1em;
    text-shadow: var(--text-glow);
}

.currency-label {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.estimated-output {
    margin-top: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
}

.output-value {
    color: var(--primary-green);
    margin-left: 10px;
    font-weight: bold;
    text-shadow: var(--text-glow);
}
.fee-explanation {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    text-align: center;
}
/* Animation */
@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.5);
    }
    100% {
        transform: scale(1);
    }
}

.price-update {
    animation: priceUpdate 0.5s ease-out;
}

/* Wallet Section */
.wallet-section {
    margin: 20px 0;
    text-align: center;
}

.wallet-button {
    max-width: 300px;
    margin: 0 auto;
}

.wallet-button.connected {
    background: linear-gradient(45deg, #14F195, #1ac275);
}

.wallet-address {
    margin-top: 10px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: none;
}