html {
    font-size: 20px;
}

body {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    padding-top: 3.5rem;
    background-color: #F9FAFB;
    font-family: 'Inter', sans-serif;
    color: #202124;
    max-width: 95vw;
    margin: auto;
}

h2 {
    color: #1A73E8;
    font-weight: 600;
}

h4 {
    color: #1A73E8;
    font-weight: 400;
}

#feesa-header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    z-index: 1000;
}

#feesa-header a {
    color: #1A73E8;
    text-decoration: none;
    transition: transform 0.15s ease, color 0.15s ease;
    display: inline-block;
}

#feesa-header a:hover {
    transform: scale(1.05);
    color: #0c5cd9;
    cursor: pointer;
}

#wallet-selector {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#wallet-selector .bi-wallet2,
#wallet-selector .bi-wallet-check {
    font-size: 1.5rem;
}
#wallet-selector .dropdown-toggle::after {
    display: none !important;
}
#wallet-selector:hover {
    background-color: rgba(26, 115, 232, 0.1); /* soft blue tint */
    border-radius: 0.375rem; /* rounded corners to match style */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#position-content {
    width: 100%;
}

.copy-icon {
    cursor: pointer;
    margin-left: 0.5rem;
    color: #1A73E8;
    transition: color 0.3s ease;
}

.copy-icon:hover {
    color: #F4B400;
}

.table-sm td,
.table-sm th {
    font-size: 0.875rem;
}

#copy-toast,
#error-toast,
#tx-toast,
#wallet-toast {
    display: none;
    z-index: 1055;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#copy-toast.show,
#error-toast.show,
#tx-toast.show,
#wallet-toast.show {
    display: block;
    opacity: 1;
    width: auto;
    max-width: 90vw;
    word-break: break-word;
}

td {
    white-space: nowrap;
}
