.gfire-existing-password-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, .62);
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.gfire-existing-password-modal.is-open {
    display: flex;
}
.gfire-existing-password-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(15,23,42,.32);
    padding: 28px;
    border-top: 7px solid var(--gfire-primary,#0b7a2f);
    text-align: left;
}
.gfire-existing-password-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.gfire-existing-password-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #0f172a;
}
.gfire-existing-password-message,
.gfire-existing-password-detail {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.45;
}
.gfire-existing-password-user {
    margin: 16px 0;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
}
.gfire-existing-password-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}
.gfire-existing-password-primary,
.gfire-existing-password-secondary,
.gfire-existing-password-cancel {
    border-radius: 12px;
    padding: 11px 15px;
    cursor: pointer;
    font-weight: 800;
    border: 1px solid #cbd5e1;
}
.gfire-existing-password-primary {
    background: var(--gfire-primary,#0b7a2f);
    color: #fff;
    border-color: var(--gfire-primary,#0b7a2f);
}
.gfire-existing-password-secondary {
    background: #fff;
    color: #334155;
}
.gfire-existing-password-cancel {
    margin-top: 12px;
    background: transparent;
    color: #64748b;
    border-color: transparent;
}
@media (max-width: 640px) {
    .gfire-existing-password-actions {
        flex-direction: column-reverse;
    }
    .gfire-existing-password-primary,
    .gfire-existing-password-secondary,
    .gfire-existing-password-cancel {
        width: 100%;
    }
}
