body {
    font-family: "Source Sans 3", Arial, sans-serif;
    background: #f5f3ee;
    color: #2f342f;
}

.site-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Source Sans 3", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1, h2 {
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
}

h3 {
    font-weight: 600;
}

.site-title {
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.card-body {
    border-radius: 1rem;
}

.text-muted,
.subtleText {
    color: #6a756a !important;
}

.statusMessage {
    min-height: 46px;
}

.noticeBox {
    background: #f7efe6;
    border: 1px solid #e5d3bf;
    padding: 14px;
    border-radius: 0.75rem;
}

.guestCard {
    background: #fff;
}

.lockedNote {
    font-size: 0.875rem;
    color: #7a5d4b;
    margin-top: 0.5rem;
}

.allergyToggle {
    background: #f3f5f0;
    border-color: #ced8ca;
    color: #2f342f;
}

.allergyToggle:hover,
.allergyToggle:focus {
    background: #e8eee5;
    border-color: #bcc8b7;
    color: #2f342f;
}

#saveStatus {
    min-width: 140px;
    font-size: 0.9rem;
    border-radius: 0.6rem;
}

.form-control,
.form-select {
    border-radius: 0.75rem;
}

.btn {
    border-radius: 0.75rem;
}

.form-control,
.form-select {
    border-radius: 0.6rem;
    border-color: #d6d8d2;
}

.form-control:focus,
.form-select:focus {
    border-color: #9fb59f;
    box-shadow: 0 0 0 0.15rem rgba(120,150,120,0.15);
}

.btn-success {
    background-color: #7c9a7c;
    border-color: #7c9a7c;
}

.btn-success:hover {
    background-color: #6c8c6c;
    border-color: #6c8c6c;
}

.wedding-divider {
    width: 120px;
    height: 1px;
    margin: 14px auto 0 auto;
    background: #b8c5b8;
    position: relative;
}

.wedding-divider::before,
.wedding-divider::after {
    content: "";
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    border: 1px solid #b8c5b8;
    border-radius: 50%;
    background: #f5f3ee;
}

.wedding-divider::before {
    left: -10px;
}

.wedding-divider::after {
    right: -10px;
}

#saveStatus {
    min-width: 140px;
    font-size: 0.9rem;
    border-radius: 0.6rem;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

#saveStatus.is-saving {
    transform: translateY(-1px);
    opacity: 0.95;
}

#saveStatus.is-saved {
    transform: scale(1.02);
}

.cardHeaderRow {
    position: relative;
}

.fieldSavedBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #7c9a7c;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;

    /* hidden by default */
    opacity: 0;
    transform: translateY(-6px) scale(0.88);
    pointer-events: none;

    transition: opacity 0.22s ease, transform 0.22s ease;
}

.fieldSavedBadge.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fieldSavedBadge.is-hiding {
    opacity: 0;
    transform: translateY(-6px) scale(0.9);
}

html {
    scroll-behavior: smooth;
}

.guest-info-block-text p:last-child {
    margin-bottom: 0;
}


.richtext-toolbar .btn.active {
    box-shadow: none;
}

.js-setting-richtext {
    background: #fff;
    line-height: 1.5;
    padding: 0.75rem 0.875rem;
    white-space: normal;
}

.js-setting-richtext:focus {
    outline: 0;
    box-shadow: none;
}

.js-setting-richtext p {
    margin: 0 0 0.75rem 0;
}

.js-setting-richtext p:last-child {
    margin-bottom: 0;
}

.js-setting-richtext ul,
.js-setting-richtext ol {
    margin: 0 0 0.75rem 0;
    padding-left: 1.5rem;
}

.js-setting-richtext li {
    margin-bottom: 0.25rem;
}

.js-setting-richtext a {
    text-decoration: underline;
}

.js-setting-richtext:empty:before {
    content: "";
}