/**
 * The Surveys page before there are any surveys.
 *
 * Deliberately plain. A cosmetic redesign is coming, and the value here is in
 * which screen appears rather than how it looks - so this is the least CSS that
 * makes the choice legible, and the easiest to throw away.
 */

.survey-onboarding {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 0 48px;
}

.survey-onboarding__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
}

.survey-onboarding__lead {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.survey-onboarding__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.survey-onboarding__choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.survey-onboarding__choice h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.survey-onboarding__choice p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.survey-onboarding__choice .btn {
    align-self: flex-start;
}

.survey-onboarding__status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #64748b;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 14px;
    color: #1a202c;
}

.survey-onboarding__status span {
    font-size: 13px;
    color: #64748b;
}

/* Same four states as the client home and the DR Conversion Setup screen. */
.survey-onboarding__status[data-state="ready"] { border-left-color: #15803d; }
.survey-onboarding__status[data-state="waiting"] { border-left-color: #b45309; }
.survey-onboarding__status[data-state="attention"] { border-left-color: #b91c1c; }

.survey-onboarding__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/*
 * The email/link surface.
 *
 * Deliberately NOT a third `.survey-onboarding__choice`. The two choices above
 * are exclusive - a site either is Shopify or it is not - and an email study is
 * neither of them and rules out neither of them. Sitting it in the same grid
 * would ask people to choose between things that are not alternatives, so it
 * gets a rule above it and reads as an addition.
 */
.survey-onboarding__also {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.survey-onboarding__also h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.survey-onboarding__also p {
    margin: 0 0 16px;
    max-width: 60ch;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.survey-onboarding__note {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}
