.gm-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.gm-login-card {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    max-width: 960px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
    padding: 48px 40px 36px;
    gap: 32px;
}

@media (max-width: 768px) {
    .gm-login-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

.gm-login-left h1 {
    font-size: 32px;
    font-weight: 400;
    margin: 16px 0 12px;
    color: #202124;
}

.gm-login-left p {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6368;
}

.gm-login-right .gm-textfield {
    position: relative;
    margin-bottom: 4px;
}

.gm-login-right .gm-textfield label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1;
    color: #5f6368;
    pointer-events: none;
    transition: top 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                font-size 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0;
    margin: 0;
}

.gm-login-right .gm-textfield .gm-field::placeholder {
    color: transparent;
}

.gm-login-right .gm-textfield .gm-field:focus + label,
.gm-login-right .gm-textfield .gm-field:not(:placeholder-shown) + label,
.gm-login-right .gm-textfield.gm-is-filled label {
    top: 0;
    left: 12px;
    font-size: 12px;
    padding: 0 4px;
    background: #fff;
    transform: translateY(-50%);
}

.gm-login-right .gm-textfield .gm-field:focus + label {
    color: #1a73e8;
}

.gm-login-right .gm-textfield .gm-field:not(:focus):not(:placeholder-shown) + label {
    color: #5f6368;
}

.gm-login-right .gm-textfield.gm-error .gm-field:focus + label,
.gm-login-right .gm-textfield.gm-error .gm-field.gm-field-error:focus + label,
.gm-login-right .gm-textfield.gm-error.gm-is-filled label {
    color: var(--gm3-sys-color-error, #b62b23);
}

.gm-email-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 4px 12px 4px 4px;
    font-size: 14px;
    margin-bottom: 24px;
    color: #202124;
}

.gm-email-chip .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.gm-forgot {
    color: #1a73e8;
    font-size: 14px;
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
}

.gm-guest-text {
    font-size: 14px;
    color: #5f6368;
    margin-top: 32px;
    line-height: 1.5;
}

.gm-login-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.gm-show-pwd {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 14px;
    color: #5f6368;
}

.gm-show-pwd input {
    accent-color: #1a73e8;
}

.gm-step-hidden {
    display: none;
}

.gm-field-error {
    border: 1px solid var(--gm3-sys-color-error, #b62b23) !important;
    padding: 13px 15px !important;
}

.gm-field-error:focus {
    border: 2px solid var(--gm3-sys-color-error, #b62b23) !important;
    padding: 12px 14px !important;
}

body.gm-login .gm-error-msg {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3333333;
    color: #b62b23;
    color: var(--gm3-sys-color-error, #b62b23);
    letter-spacing: 0.01em;
}

body.gm-login .gm-error-text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.3333333;
    color: inherit;
}

body.gm-login .gm-error-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    margin-top: 1px;
    border-radius: 50%;
    background: #b62b23;
    background: var(--gm3-sys-color-error, #b62b23);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: Roboto, Arial, sans-serif;
    line-height: 16px;
    text-align: center;
    overflow: hidden;
}

.gm-login-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 12px;
    color: #5f6368;
}

.gm-login-footer a {
    color: #5f6368;
    text-decoration: none;
    margin-left: 16px;
}

.gm-login-footer-links {
    display: flex;
    gap: 16px;
}
