/* Shared "Back to Home" link styles */
.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.625rem;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.back-home__icon {
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.back-home:hover .back-home__icon {
    transform: translateX(-3px);
}

.back-home:active {
    transform: scale(0.98);
}

.back-home--inline {
    font-size: 0.6875rem;
    color: #2563eb;
    padding: 0.375rem 0.625rem;
    margin-left: -0.625rem;
}

.back-home--inline.is-centered {
    margin-left: 0;
}

.back-home--inline:hover {
    color: #1d4ed8;
    background-color: #eff6ff;
    transform: translateX(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.back-home--inline.is-centered:hover {
    transform: translateY(-1px);
}

.back-home--step {
    font-size: 0.75rem;
    color: #64748b;
    padding: 0.5rem 0.75rem;
    margin-left: -0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.back-home--step:hover {
    color: #1d4ed8;
    background-color: #eff6ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

button.back-home--step:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.back-home--btn {
    justify-content: center;
    font-size: 0.75rem;
    color: #475569;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.back-home--btn:hover {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.14);
}

.back-home--center {
    justify-content: center;
    width: 100%;
    font-size: 0.875rem;
    color: #2563eb;
    padding: 0.5rem 0.75rem;
}

.back-home--center:hover {
    color: #1d4ed8;
    background-color: #eff6ff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.back-home--primary {
    justify-content: center;
    width: 100%;
    font-size: 0.875rem;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #1d4ed8, #0284c7);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.back-home--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.back-home--outline {
    justify-content: center;
    width: 100%;
    font-size: 0.875rem;
    color: #475569;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.back-home--outline:hover {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}
