.footer-mobile-register {
    width: min(100%, 430px);
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid hsl(var(--border));
    text-align: right;
}

.footer-mobile-register__title {
    margin: 0 0 12px;
    color: hsl(var(--text));
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
}

.footer-mobile-register__controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.footer-mobile-register__input {
    min-width: 0;
    height: 48px;
    flex: 1 1 auto;
    padding: 0 15px;
    border: 1px solid #db810b;
    border-radius: 9px;
    outline: 0;
    color: hsl(var(--text));
    background: hsl(var(--background));
    font-size: 13px;
    direction: ltr;
    text-align: right;
    transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.footer-mobile-register__input::placeholder {
    color: hsl(var(--text) / 0.48);
    direction: rtl;
}

.footer-mobile-register__input:focus {
    border-color: hsl(var(--primary) / 0.55);
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.footer-mobile-register__button {
    width: 58px;
    min-width: 58px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #ffa618, #e17e09);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.footer-mobile-register__button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(182, 46, 46, 0.22);
}

.footer-mobile-register__button:disabled,
.footer-mobile-register__input:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.footer-mobile-register__form.is-complete .footer-mobile-register__input,
.footer-mobile-register__form.is-complete .footer-mobile-register__button {
    border-color: rgba(22, 163, 74, 0.2);
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
}

.footer-mobile-register__message {
    min-height: 22px;
    margin: 7px 2px 0;
    color: hsl(var(--text) / 0.62);
    font-size: 11px;
    line-height: 1.8;
}

.footer-mobile-register__message.is-error {
    color: #dc2626;
}

.footer-mobile-register__message.is-success {
    color: #15803d;
}

.footer-mobile-register__export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: hsl(var(--text) / 0.68);
    font-size: 11px;
    transition: color 150ms ease;
}

.footer-mobile-register__export:hover {
    color: hsl(var(--primary));
}

.footer-mobile-register__export svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 1023px) {
    .footer-mobile-register {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .footer-mobile-register__controls {
        gap: 6px;
    }

    .footer-mobile-register__input {
        padding: 0 10px;
    }

    .footer-mobile-register__button {
        width: 52px;
        min-width: 52px;
    }
}
@media (max-width: 480px) {
	.footer-mobile-register__controls {
        display: inline-block !important;
    }
    .footer-mobile-register__input {		
        max-width: 142px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-mobile-register__input,
    .footer-mobile-register__button {
        transition: none;
    }
}
