@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@500&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

.ugf-content .google-auth {
    width: 100%;
    max-width: 470px;
    margin-top: 28px;
    text-align: start;
}

.ugf-content .google-auth-button {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 12px;
    border: 1px solid #747775;
    border-radius: 12px;
    background: #fff;
    color: #1f1f1f;
    font-family: "Google Sans", "Noto Sans Arabic", "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

.ugf-content .google-auth-button:hover {
    background: #f8faff;
    color: #1f1f1f;
    box-shadow: 0 2px 8px rgb(31 31 31 / 8%);
}

.ugf-content .google-auth-button:focus-visible,
.ugf-content .google-auth-change:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 4px;
}

.google-auth-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ugf-content .google-auth-help {
    margin: 12px 0 0;
    color: #526174;
    font-size: 13px;
    line-height: 1.8;
    text-align: start;
}

.ugf-content .google-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 0;
    color: #637083;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.google-auth-divider::before,
.google-auth-divider::after {
    flex: 1;
    height: 1px;
    background: #d9e0e8;
    content: "";
}

.google-auth + form {
    margin-top: 24px;
}

.ugf-content .google-signup-card {
    padding: 20px;
    border: 1px solid #dbe5f4;
    border-radius: 16px;
    background: #f0f5ff;
}

.google-signup-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-signup-step,
.google-signup-check {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dce8ff;
    color: #2458ae;
    font-size: 13px;
    font-weight: 700;
}

.ugf-content .google-signup-title {
    margin: 0;
    color: #233b60;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.ugf-content .google-signup-description {
    margin: 10px 0 16px;
    color: #526174;
    font-size: 14px;
    line-height: 1.8;
}

.ugf-content .google-signup-card--verified {
    border-color: #cde5d8;
    background: #f0f8f3;
}

.google-signup-check {
    background: #d7eddf;
    color: #236943;
}

.google-signup-email {
    display: block;
    margin-top: 10px;
    color: #245239;
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.ugf-content .google-signup-card .google-signup-actions {
    margin: 0;
}

.ugf-content .google-auth-change {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2458ae;
    font-size: 13px;
    line-height: 1.8;
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ugf-content .google-auth-errors {
    margin: 0 0 16px;
    color: #b42318;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 575px) {
    .ugf-content .google-signup-card {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ugf-content .google-auth-button {
        transition: none;
    }
}

.ugf-content .google-auth[lang="ar"] .google-auth-help,
.ugf-content .google-auth[lang="ar"] .google-auth-divider,
.ugf-content .google-auth[lang="ar"] .google-signup-title,
.ugf-content .google-auth[lang="ar"] .google-signup-description,
.ugf-content .google-auth[lang="ar"] .google-auth-change {
    font-family: "Noto Sans Arabic", Arial, sans-serif;
}
.ugf-content .google-auth--registration {
    max-width: 100%;
}