.auth-login-component {
    --auth-orange: #ff7a1a;
    --auth-orange-strong: #f45b16;
    --auth-ink: #1c2430;
    --auth-text: #5a6472;
    --auth-border: rgba(24, 34, 52, 0.14);
    color: var(--auth-ink);
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
}

.auth-login-component,
.auth-login-component * {
    box-sizing: border-box;
}

.auth-login-component .auth-title {
    margin: 0 0 10px;
    color: var(--auth-ink);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.auth-login-component .auth-subtitle {
    margin: 0 0 24px;
    color: var(--auth-text);
    line-height: 1.6;
}

.auth-login-component .auth-form,
.auth-login-component .auth-field {
    display: grid;
}

.auth-login-component .auth-form {
    gap: 18px;
}

.auth-login-component .auth-field {
    gap: 9px;
}

.auth-login-component .auth-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--auth-ink);
    font-size: 0.97rem;
    font-weight: 700;
}

.auth-login-component .auth-label i {
    color: var(--auth-orange-strong);
}

.auth-login-component .auth-input-wrap {
    position: relative;
}

.auth-login-component .auth-input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--auth-border);
    border-radius: 18px;
    background: #fff;
    color: var(--auth-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-login-component .auth-input.has-action {
    padding-right: 54px;
}

.auth-login-component .auth-input:focus {
    border-color: rgba(249, 98, 4, 0.48);
    box-shadow: 0 0 0 4px rgba(249, 98, 4, 0.12);
}

.auth-login-component .auth-input::placeholder {
    color: #97a0ad;
}

.auth-login-component .auth-input-action {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #7a8594;
    cursor: pointer;
}

.auth-login-component .auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-login-component .auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--auth-text);
    font-size: 0.95rem;
    cursor: pointer;
}

.auth-login-component .auth-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-orange-strong);
}

.auth-login-component .auth-link {
    color: var(--auth-orange-strong);
    text-decoration: none;
    font-weight: 700;
}

.auth-login-component .auth-link:hover {
    color: var(--auth-orange);
}

.auth-login-component .auth-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7a1a 0%, #f45b16 100%);
    box-shadow: 0 10px 20px rgba(249, 98, 4, 0.22);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.auth-login-component .auth-primary-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.auth-login-component .auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2px 0;
    color: #8d96a4;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-login-component .auth-divider::before,
.auth-login-component .auth-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: rgba(28, 36, 48, 0.12);
}

.auth-login-component .auth-social-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auth-login-component .auth-google-slot {
    position: relative;
    min-height: 56px;
}

.auth-login-component .auth-google-gis-render {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    width: 100%;
    opacity: 0.01;
    overflow: hidden;
}

.auth-login-component .auth-google-slot.is-gis-ready .auth-google-gis-render {
    display: block;
}

.auth-login-component .auth-google-slot.is-gis-ready .auth-google-fallback {
    pointer-events: none;
}

.auth-login-component .auth-google-gis-render > div,
.auth-login-component .auth-google-gis-render iframe {
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 56px !important;
}

.auth-login-component .auth-google-btn,
.auth-login-component .auth-facebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(28, 36, 48, 0.1);
    border-radius: 18px;
    background: #fff;
    color: var(--auth-ink);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-login-component .auth-google-btn:hover,
.auth-login-component .auth-facebook-btn:hover {
    color: var(--auth-ink);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(28, 36, 48, 0.08);
}

.auth-login-component .auth-facebook-btn:hover {
    border-color: rgba(24, 119, 242, 0.3);
    background: #f8fbff;
}

.auth-login-component .auth-google-btn svg,
.auth-login-component .auth-facebook-btn svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.auth-login-component .auth-primary-btn:focus-visible,
.auth-login-component .auth-google-btn:focus-visible,
.auth-login-component .auth-facebook-btn:focus-visible,
.auth-login-component .auth-input-action:focus-visible {
    outline: 3px solid rgba(249, 98, 4, 0.22);
    outline-offset: 3px;
}

.auth-login-component .auth-meta {
    margin-top: 2px;
    text-align: center;
    color: var(--auth-text);
    line-height: 1.6;
}

.auth-login-component .auth-footer {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(28, 36, 48, 0.08);
    text-align: center;
    color: #8b93a0;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .auth-login-component .auth-social-stack {
        grid-template-columns: 1fr;
    }

    .auth-login-component .auth-input,
    .auth-login-component .auth-primary-btn,
    .auth-login-component .auth-google-btn,
    .auth-login-component .auth-facebook-btn {
        min-height: 52px;
        border-radius: 16px;
    }
}
