/* Host-only layout helpers (landing + signup). Paths are always root-absolute. */

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0ea5e9;
    --bs-btn-border-color: #0ea5e9;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0284c7;
    --bs-btn-hover-border-color: #0284c7;
    --bs-btn-focus-shadow-rgb: 14, 165, 233;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0369a1;
    --bs-btn-active-border-color: #0369a1;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.2);
}

.saas-landing__header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.host-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.host-lang-switch a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}

.host-lang-switch a:hover {
    color: #0284c7;
}

@media (max-width: 768px) {
    .saas-landing__header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        align-items: center;
        gap: 0.5rem;
    }

    .host-lang-switch {
        justify-self: start;
        font-size: 0.82rem;
        gap: 0.2rem;
    }

    .host-lang-switch a {
        padding: 0.25rem 0.4rem;
        border: 1px solid #cbd5e1;
        border-radius: 0.45rem;
        line-height: 1;
    }

    .saas-landing__header-actions .btn {
        width: 100%;
        font-size: 0.92rem;
        padding: 0.5rem 0.55rem;
        white-space: nowrap;
    }

    /* On landing mobile, keep top bar compact (language + logo only). */
    .saas-landing__header-actions--landing .btn {
        display: none;
    }
}
