.container {
    max-width: 42rem;
    margin: 2rem auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.alert {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tabs {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-trigger {
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background: white;
}

.tab-trigger.active {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.wallet-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.wallet-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-network {
    color: #6b7280;
    font-size: 0.875rem;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address {
    flex: 1;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 0.375rem;
    font-family: monospace;
    word-break: break-all;
}

.copy-button {
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 9999px;
}

.copy-button:hover {
    background: #f3f4f6;
}

.instructions {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.instructions h3 {
    color: black;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.instructions ol {
    margin-left: 1.25rem;
    line-height: 1.5;
}

/* New Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 42rem;
    max-height: 90vh;
    overflow-y: auto;
    margin: 1rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
}

.modal-close:hover {
    background: #f3f4f6;
}

.primary-button {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.primary-button:hover {
    background: #2563eb;
}