/*
 * Open sign-up (Configuration/TypoScript/OpenSignUp): the optional sign-in line above the form and
 * the "Add to calendar" block on the thank-you page. The account card comes from seats.css.
 */

.powermail-open-signin,
.powermail-calendar {
    --open-navy: var(--fs-navy, #003052);
    --open-text: var(--fs-black, #0a0a0a);
    --open-muted: var(--fs-gray-04, #4f5b67);
    --open-border: #c2cbd4;
    --open-bg: #f5f7f9;
}

.powermail-open-signin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 24px;
    padding: 16px 20px;
    border: 1px solid var(--open-border);
    border-radius: 8px;
    background: var(--open-bg);
    color: var(--open-text);
}

.powermail-open-signin__text {
    flex: 1 1 260px;
    margin: 0;
}

.powermail-open-signin__button {
    flex: 0 0 auto;
}

.powermail-calendar {
    margin: 24px 0 0;
    padding: 20px;
    border: 1px solid var(--open-border);
    border-radius: 8px;
    color: var(--open-text);
}

.powermail-calendar__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--open-navy);
}

.powermail-calendar__outlook {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--open-navy);
    background: var(--open-bg);
}

.powermail-calendar__options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.powermail-calendar__option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 0;
}

.powermail-calendar__option + .powermail-calendar__option {
    border-top: 1px solid var(--open-border);
}

.powermail-calendar__text {
    display: flex;
    flex: 1 1 240px;
    flex-direction: column;
}

.powermail-calendar__name {
    font-weight: 600;
}

.powermail-calendar__desc {
    color: var(--open-muted);
    font-size: 14px;
}

.powermail-calendar__action {
    flex: 0 0 auto;
}

/* a signed-in account's standing instead of the form (signed up, waiting list) */
.powermail-calendar--signed-up,
.powermail-calendar--waitlist {
    border-left: 4px solid var(--open-navy);
}

.powermail-calendar--signed-up p:last-child,
.powermail-calendar--waitlist p:last-child {
    margin-bottom: 0;
}

/* a field filled from the logged-in account: shown, not editable */
.powermail_form .powermail-open-readonly {
    background-color: var(--fs-gray-01, #f5f7f9);
    color: var(--fs-gray-04, #4f5b67);
    cursor: default;
}
