:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --accent-color: #58a6ff;
    --text-color: #f0f6fc;
    --input-bg: #0d1117;
    --border-color: #30363d;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.btn-connect {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

.swap-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swap-card {
    background-color: var(--card-bg);
    width: 400px;
    padding: 25px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.swap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.swap-section {
    background-color: var(--input-bg);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 100%;
    outline: none;
}

select {
    background: var(--card-bg);
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
}

.swap-divider {
    text-align: center;
    margin: -15px 0;
    position: relative;
    z-index: 2;
}

.swap-divider i {
    background: var(--card-bg);
    padding: 10px;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.btn-swap {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border-radius: 16px;
    border: none;
    background-color: #238636;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-swap:disabled {
    background-color: #30363d;
    cursor: not-allowed;
    color: #8b949e;
}