.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wallet-info .network-selector {
    display: inline-flex;
    width: auto;
    padding: 0;
    border: none;
}

.wallet-info .network-selector .network-selector-button {
    min-width: 180px;
    width: auto;
    height: 36px;
}

.wallet-info .network-selector-dropdown {
    min-width: 280px;
    width: auto;
    right: auto;
    left: 0;
}

.address {
    color: #2c3e50;
    font-size: 0.9rem;
    font-family: monospace;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    height: 36px;
    display: inline-flex;
    align-items: center;
}

.top-nav .btn-connect {
    margin: 0;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.top-nav .btn-connect:hover {
    opacity: 0.9;
}



/* Adjust main content to account for fixed nav */
body {
    padding-top: 60px;
}

/* Network selector adjustments */
.top-nav .network-selector {
    margin: 0;
    padding: 0;
    border: none;
}

.top-nav .network-selector-button {
    min-width: 200px;
}

.top-nav .network-selector-dropdown {
    left: 0;
    right: auto;
    margin-top: 0.5rem;
}
