/* General Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

h1 {
    color: #ffffff;
    font-size: 2.5rem;
}

.subtitle {
    color: #b3b3b3;
    margin-bottom: 40px;
}

/* Swap App Layout */
.swap-app {
    display: flex;
    gap: 20px;
    background-color: #16213e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.info-panel, .trade-panel {
    flex: 1;
    padding: 20px;
    background-color: #0f3460;
    border-radius: 8px;
}

.trade-panel {
    background-color: #1f4068;
}

/* Info Panel */
.token-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.token-logo {
    border-radius: 50%;
}

.token-header h2 {
    margin: 0;
    color: #e94560;
}

.symbol {
    margin: 0;
    color: #b3b3b3;
    font-size: 0.9rem;
}

.price-display {
    font-size: 1.8rem;
    font-weight: bold;
    color: #50c878; /* Green for price */
    margin-bottom: 20px;
}

.stats p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #c0c0c0;
}

/* Trade Panel */
#connectWalletBtn {
    width: 100%;
    padding: 12px;
    background-color: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.2s;
}

#connectWalletBtn:hover {
    background-color: #d43d51;
}

#connectWalletBtn.connected {
    background-color: #50c878;
    cursor: default;
}

.tabs {
    display: flex;
    margin-bottom: 15px;
}

.tab {
    flex: 1;
    padding: 10px;
    background-color: #16213e;
    color: #e0e0e0;
    border: 1px solid #1f4068;
    cursor: pointer;
}

.tab.active {
    background-color: #e94560;
    color: white;
    border-bottom: 2px solid white;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #c0c0c0;
}

.input-field {
    display: flex;
    align-items: center;
    background-color: #16213e;
    border-radius: 8px;
    padding: 5px 10px;
}

.input-field span {
    font-weight: bold;
    color: #e94560;
    padding-right: 10px;
}

.input-field input {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 8px;
}

input:focus {
    outline: none;
}

.swap-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.buy {
    background-color: #50c878; /* Green */
    color: #16213e;
}

.sell {
    background-color: #e94560; /* Red */
    color: white;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    .swap-app {
        flex-direction: column;
    }
} 
