/* The delivery day: the page of a delivered letter, the shared moment and the reminders' off switch. */
.day {
    max-width: 680px;
    margin: 40px auto 0;
    padding: 28px 24px 32px;
    border: 1px solid var(--hairline);
    border-radius: 20px;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(91, 60, 30, 0.08), 0 18px 40px -26px rgba(91, 60, 30, 0.45);
    text-align: center;
}

.day h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4.4vw, 2rem);
}

.day h2 {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 3.4vw, 1.35rem);
}

.day__dates {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.day__detail {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.day__small {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.day__email {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-style: italic;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.day__quote {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    background: var(--letter);
    color: var(--ink);
    font-family: var(--font-serif);
    font-style: italic;
    text-align: left;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.day__quote small {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-family: var(--font-sans);
    font-style: normal;
}

.day__reply {
    margin: 0 0 8px;
}

.day__question {
    margin: 0 0 12px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.day__reply-button {
    font-size: 1.05rem;
}

.day__hint {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.day__part {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}

.day__card {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 14px;
    border-radius: 12px;
    border: 1px solid var(--hairline);
}

.day__share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.day__share-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.day__share-link:hover,
.day__share-link:focus-visible {
    border-color: var(--gold);
}

.day__remind {
    text-align: left;
}

.day__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 8px;
    cursor: pointer;
}

.day__check input {
    flex: none;
    margin-top: 4px;
}

.day__remind .button {
    margin-top: 14px;
}

.day__error {
    margin: 6px 0 0;
    color: #a1361f;
}

.day__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.day button {
    cursor: pointer;
}

/* The reply above the letter box on the home form (see _LetterForm.cshtml). */
.reply-hint {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    background: var(--letter);
}

.reply-hint__label {
    display: block;
    margin-bottom: 4px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.reply-hint__quote {
    margin: 0;
    font-family: var(--font-serif);
    font-style: italic;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.reply-hint__question {
    margin: 10px 0 0;
    font-weight: 700;
}
