.too-account-field-wide {
    grid-column: 1 / -1;
}

.too-account-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid #e8ecf3;
    padding-top: 1.5rem;
}

.too-account-submit-note {
    color: #607489;
    font-size: 0.9rem;
    flex: 1;
}

.too-account-button {
    min-width: 210px;
}

.too-account-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.too-account-key-wrap {
    display: grid;
    gap: 0.55rem;
}

.too-account-key-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.too-account-key {
    flex: 1;
    min-height: 2.95rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #bfd0e1;
    border-radius: 12px;
    background: #ffffff;
    color: #14335c;
    font-family: Monaco, Consolas, monospace;
    font-size: 0.9rem;
}

.too-account-copy-btn {
    min-width: 3rem;
    width: 3rem;
    height: 3rem;
    border: 1px solid #bfd0e1;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #31567f;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

.too-account-copy-btn:hover:not(:disabled) {
    background-color: #f4f8fe;
    border-color: #2f6fb7;
}

.too-account-copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.too-account-copy-icon {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Copied feedback — overlay a checkmark, leave the SVG intact */
.too-account-copy-btn.copied {
    color: #1a7f3c;
    border-color: #1a7f3c;
    background-color: #f0faf4;
}

.too-account-copy-btn.copied .too-account-copy-icon {
    visibility: hidden;
}

.too-account-copy-btn.copied::after {
    content: '✓';
    position: absolute;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #1a7f3c;
}

.too-account-copy-btn {
    position: relative;
}

@media (max-width: 900px) {
    .too-account-key-row {
        align-items: stretch;
    }

    .too-account-form-actions {
        flex-direction: column-reverse;
    }

    .too-account-submit-note {
        flex: none;
    }
}
