/* Etafelt App Manager — dashboard utenti (onboarding subscriber) */

.eam-user-onboarding-notice {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    width: 100%;
    margin: 0;
    padding: 1.5rem 1.625rem;
    background: #fff8e5;
    border: 1px solid #f0d27a;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.eam-user-onboarding-notice *,
.eam-user-onboarding-notice *::before,
.eam-user-onboarding-notice *::after {
    box-sizing: border-box;
}

.eam-user-onboarding-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    margin-top: 0.1rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: #dc2626;
}

.eam-user-onboarding-notice__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.eam-user-onboarding-notice__body {
    flex: 1;
    min-width: 0;
}

.eam-user-onboarding-notice__title {
    margin: 0 0 0.65rem;
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 700;
    color: #b35a00;
}

.eam-user-onboarding-notice__text {
    margin: 0 0 0.75rem;
    color: #374151;
}

.eam-user-onboarding-notice__text:last-of-type {
    margin-bottom: 1.125rem;
}

.eam-user-onboarding-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Pulsanti onboarding/registrazione-completata: stile gestito dal tema child
   tramite le classi .eam-btn / .eam-btn-primary / .eam-btn-secondary. */

.eam-onboarding-status--completed .eam-user-onboarding-notice__icon {
    color: #15803d;
}

.eam-onboarding-status--completed .eam-user-onboarding-notice__title {
    color: #166534;
}

.eam-dashboard-card__locked-note {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 600;
    color: #b45309;
}

.eam-dashboard-card--offerte.is-locked,
body.eam-user-onboarding .eam-dashboard-card--offerte {
    opacity: 0.55;
    filter: grayscale(0.15);
}

.eam-dashboard-card--offerte.is-locked a,
body.eam-user-onboarding .eam-dashboard-card--offerte a {
    pointer-events: none;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .eam-user-onboarding-notice {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.25rem 1.15rem;
    }

    .eam-user-onboarding-notice__actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .eam-user-onboarding-notice {
        font-size: 0.875rem;
    }

    .eam-user-onboarding-notice__title {
        font-size: 1.05rem;
    }
}
