.gw-password-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.gw-password-wrap > input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 52px !important;
}

.gw-password-wrap > .gw-password-toggle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    box-shadow: none;
}

.gw-password-wrap > .gw-password-toggle:hover {
    background: rgba(100, 116, 139, 0.12);
}

.gw-password-wrap > .gw-password-toggle:focus-visible {
    outline: 2px solid #2764e7;
    outline-offset: 2px;
}

.gw-account-dialog {
    width: min(440px, calc(100vw - 32px));
    max-height: 85vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #ffffff;
    color: #172337;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.gw-account-dialog::backdrop {
    background: rgba(15,23,42,.65);
}

.gw-account-dialog label {
    display: block;
    margin-bottom: 14px;
}

.gw-account-dialog input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.gw-account-dialog button:not(.gw-password-toggle) {
    margin-top: 12px;
    padding: 10px 16px;
    cursor: pointer;
}

.gw-account-dialog button:disabled {
    opacity: .5;
    cursor: not-allowed;
}
