:root {
    --primary: #f3b6c1;
    --primary-dark: #d58ca4;
    --accent: #88d3ce;
    --background: #0f172a;
    --background-alt: #1e293b;
    --text: #f8fafc;
    --muted: rgba(248, 250, 252, 0.75);
    --shadow: rgba(15, 23, 42, 0.22);
    --max-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 18% 22%, rgba(186, 214, 255, 0.45), transparent 58%), radial-gradient(circle at 82% 18%, rgba(136, 199, 255, 0.35), transparent 52%), radial-gradient(circle at 30% 80%, rgba(212, 236, 255, 0.4), transparent 60%), linear-gradient(180deg, #f3f8ff 0%, #eef6ff 45%, #f9fbff 100%);
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem clamp(1rem, 4vw, 3rem);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.04em;
    gap: 0.5rem;
}

.site-brand img {
    display: block;
    height: clamp(44px, 6vw, 64px);
    width: auto;
}

.site-nav {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    align-items: center;
}

.site-nav a,
.nav-logout-form button {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.nav-logout-form {
    margin: 0;
}

.nav-logout-form button {
    display: inline-flex;
    align-items: center;
}

.custom-select.has-error .custom-select__trigger,
.custom-select.has-error .custom-select__menu {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.option-button {
    border: 1px solid rgba(148, 199, 255, 0.28);
    background: rgba(148, 199, 255, 0.08);
    color: rgba(236, 248, 255, 0.78);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.option-button:hover,
.option-button:focus-visible {
    border-color: rgba(148, 199, 255, 0.6);
    color: var(--text);
    background: rgba(148, 199, 255, 0.18);
    outline: none;
}

.option-button.is-active {
    background: linear-gradient(135deg, rgba(148, 199, 255, 0.85), rgba(136, 211, 206, 0.65));
    color: #0f172a;
    border-color: transparent;
    box-shadow: 0 10px 18px -14px rgba(136, 199, 255, 0.7);
}

.option-button--ghost {
    border-style: dashed;
    color: rgba(236, 248, 255, 0.6);
    background: rgba(148, 199, 255, 0.05);
}

.option-button--ghost.is-active {
    color: #0f172a;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-logout-form button:hover,
.nav-logout-form button:focus-visible {
    color: var(--text);
    border-color: var(--accent);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(15, 31, 61, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    gap: 0.35rem;
}

.nav-toggle-label:hover,
.nav-toggle-label:focus-visible {
    background: rgba(14, 165, 233, 0.65);
    transform: translateY(-1px);
}

.burger-line {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.burger-line + .burger-line {
    margin-top: 0;
}

.nav-toggle:checked + .nav-toggle-label .burger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label {
    background: rgba(14, 165, 233, 0.7);
}

.nav-toggle:checked + .nav-toggle-label .burger-line:nth-child(1) {
    transform: translateY(0.5rem) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label .burger-line:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
}

.site-main {
    flex: 1;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 6rem);
}

.hero {
    position: relative;
    overflow: hidden;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    max-width: var(--max-width);
    padding: clamp(3rem, 6vw, 6rem);
    background: linear-gradient(135deg, rgba(223, 239, 255, 0.98), rgba(198, 228, 255, 0.94), rgba(237, 246, 255, 0.96));
    color: #0f1f3d;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 45px -28px rgba(15, 23, 42, 0.18);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.5), rgba(186, 220, 255, 0.45));
    mix-blend-mode: screen;
}

.hero::after {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 45%), radial-gradient(circle at 75% 80%, rgba(186, 226, 255, 0.35), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 1.75rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b2447;
}

.hero-title {
    margin: 0;
    font-family: "Playfair Display", "Georgia", serif;
    font-size: clamp(2.75rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.hero-subtitle {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: rgba(15, 31, 61, 0.72);
    max-width: 36ch;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem clamp(1rem, 4vw, 2.5rem);
    padding-top: 1rem;
}

.hero-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0b2447;
}

.hero-chip__link {
        text-decoration: none;
        color: inherit;
    }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    background: linear-gradient(150deg, rgba(190, 224, 255, 0.45), rgba(255, 255, 255, 0.45));
    filter: blur(45px);
    opacity: 0.85;
}

.hero-figure {
    position: relative;
    margin: 0;
    width: min(100%, 420px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 31, 61, 0.08);
    box-shadow: 0 24px 55px -32px rgba(15, 23, 42, 0.35);
}

.hero-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    color: #0b2447;
}

.hero-caption span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(15, 31, 61, 0.6);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: #2f0b24;
    box-shadow: 0 18px 35px -22px rgba(243, 182, 193, 0.8);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(248, 250, 252, 0.35);
    color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.hero .btn-outline {
    border-color: rgba(15, 31, 61, 0.25);
    color: #0b2447;
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
    border-color: rgba(14, 165, 233, 0.55);
    color: #0b2447;
    background: rgba(255, 255, 255, 0.6);
}

.section {
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    max-width: var(--max-width);
    padding: clamp(2rem, 4vw, 3.5rem);
    background: rgba(15, 23, 42, 0.55);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 50px -35px var(--shadow);
}

.section-title {
    margin: 0 0 1.5rem;
    font-family: "Playfair Display", "Georgia", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.05em;
}

.details-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.detail-card {
    padding: 1.75rem;
    background: rgba(248, 250, 252, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 0.75rem;
    margin-bottom: 20px;
}

.detail-card h3 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.detail-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.timeline {
    display: grid;
    gap: 1.25rem;
}

.timeline-item {
    display: grid;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(248, 250, 252, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-time {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.85rem;
}

.timeline-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.registry-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.registry-card {
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.registry-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.registry-code-card {
    text-align: left;
}

.registry-code-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.registry-code-card p {
    margin: 0 0 1rem;
    color: var(--text);
    line-height: 1.5;
    font-size: 0.95rem;
}

.registry-code-form {
    display: grid;
    gap: 0.75rem;
}

.registry-code-input {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.registry-code-input input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.registry-code-input input::placeholder {
    color: rgba(248, 250, 252, 0.6);
}

.registry-code-input input:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.form-note {
    margin: 0 0 1.5rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}

.form-feedback {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-feedback.error {
    color: #fca5a5;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.register-section .section-title {
    margin-bottom: 1.25rem;
}

.register-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dashboard-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.register-card {
    padding: 1.75rem;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.9));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 1.25rem;
    box-shadow: 0 24px 45px -35px rgba(15, 23, 42, 0.9);
}

.register-card h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text);
}

.guest-summary {
    margin: 0;
    display: grid;
    gap: 0.5rem;
    column-gap: 1.5rem;
}

.guest-summary div {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
}

.guest-summary dt {
    min-width: 0;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guest-summary dd {
    margin: 0;
    color: rgba(248, 250, 252, 0.92);
    line-height: 1.45;
}

.guest-summary dd code {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background: rgba(136, 199, 255, 0.18);
    color: #dbeafe;
    letter-spacing: 0.08em;
    font-weight: 600;
    word-break: break-word;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.checkbox-field label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
}

.form-field label {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field textarea {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="password"]:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.form-field textarea {
    min-height: 5.5rem;
    border-radius: 24px;
    resize: vertical;
}

.guest-response-form fieldset {
    border: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.guest-response-form fieldset + fieldset {
    margin-top: 1.25rem;
}

.guest-response-form legend {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

legend {
    margin-bottom: 50px;
}

/* .color-meta h3 {
    font-size: 14px;
} */

.guest-response-form ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.guest-response-form input[type="radio"] {
    accent-color: var(--accent);
}

.guest-response-form select,
.guest-response-form .select {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(248, 250, 252, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.guest-response-form select:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.message-stack {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.form-feedback.success {
    color: #0d3d2c;
    background: rgba(134, 239, 172, 0.9);
    border-left: 4px solid #22c55e;
}

.form-feedback.error {
    color: #450a0a;
    background: rgba(252, 165, 165, 0.9);
    border-left: 4px solid #f87171;
}

.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fca5a5;
    font-size: 0.9rem;
}

.guest-table-wrapper {
    overflow-x: auto;
}

.group-attendance {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.group-attendance__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.group-attendance__option:hover {
    border-color: rgba(148, 199, 255, 0.45);
    background: rgba(148, 199, 255, 0.12);
}

.group-attendance__option input {
    accent-color: rgba(148, 199, 255, 0.85);
}

.gift-section {
    display: grid;
    gap: 2rem;
}

.gift-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.management-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 1.25rem;
}

.management-breadcrumb a {
    color: rgba(148, 199, 255, 0.95);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.management-breadcrumb a:hover,
.management-breadcrumb a:focus-visible {
    color: rgba(236, 248, 255, 0.95);
    border-color: rgba(148, 199, 255, 0.6);
    outline: none;
}

.management-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.import-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(100%, 360px);
}

.import-form__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.import-form__controls input[type="file"] {
    font-size: 0.9rem;
    max-width: 240px;
}

.import-form__note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.85);
}

.management-overview__intro {
    display: grid;
    gap: 0.75rem;
}

.management-overview__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .management-overview__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        align-items: stretch;
    }
}

.overview-card {
    position: relative;
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.4rem, 3vw, 1.9rem);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 40px -32px rgba(15, 23, 42, 0.75);
}

.overview-card--guests {
    background: linear-gradient(150deg, rgba(148, 199, 255, 0.16), rgba(15, 23, 42, 0.96));
    border-color: rgba(148, 199, 255, 0.35);
}

.overview-card--gifts {
    background: linear-gradient(155deg, rgba(136, 211, 206, 0.14), rgba(15, 23, 42, 0.95));
    border-color: rgba(136, 211, 206, 0.28);
}

.overview-card__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.overview-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 20px;
    background: rgba(148, 199, 255, 0.18);
    font-size: 1.4rem;
}

.overview-card__title {
    margin: 0;
    font-size: 1.35rem;
}

.overview-card__subtitle {
    margin: 0.25rem 0 0;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.5;
}

.overview-metrics {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.overview-metrics__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.overview-metrics__row dt {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.8);
}

.overview-metrics__row dd {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(236, 248, 255, 0.95);
}

.overview-card__hint {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(148, 199, 255, 0.8);
}

.overview-card__cta {
    justify-self: flex-start;
}

.copy-chip--block {
    width: 100%;
    justify-content: center;
}

.gift-intro-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gift-intro-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .gift-intro-grid {
        grid-template-columns: 1fr;
    }
    .gift-info-card {
        padding: 1.1rem;
    }
    .copy-chip {
        width: 100%;
        justify-content: center;
    }
    .bank-details-table th,
    .bank-details-table td {
        display: block;
        width: 100%;
    }
    .bank-details-table tr:not(:last-child) th,
    .bank-details-table tr:not(:last-child) td {
        border-bottom: none;
    }
    .bank-details-table td {
        padding-bottom: 0.8rem;
    }
    .bank-details-table th {
        margin-bottom: 0.25rem;
    }
}

.gift-info-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.65);
}

.gift-info-card--code {
    background: linear-gradient(145deg, rgba(148, 199, 255, 0.12), rgba(15, 23, 42, 0.94));
    border-color: rgba(148, 199, 255, 0.3);
}

.gift-info-card--support {
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.96));
}

.gift-info-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.gift-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 18px;
    background: rgba(148, 199, 255, 0.16);
    font-size: 1.35rem;
}

.gift-info-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
}

.gift-info-card__subtitle,
.gift-info-card__body {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.5;
}

.gift-info-card__body {
    font-size: 0.95rem;
}

.bank-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.bank-details-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.bank-details-table th,
.bank-details-table td {
    padding: 0.4rem 0.2rem;
    text-align: left;
}

.bank-details-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.85);
    width: 40%;
}

.bank-details-table tr:not(:last-child) th,
.bank-details-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.copy-chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 199, 255, 0.4);
    background: rgba(148, 199, 255, 0.12);
    color: rgba(236, 248, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    font-family: inherit;
}

.copy-chip:hover,
.copy-chip:focus-visible {
    border-color: rgba(148, 199, 255, 0.65);
    background: rgba(148, 199, 255, 0.22);
    transform: translateY(-1px);
    outline: none;
}

.copy-chip__value {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.copy-chip__icon {
    font-size: 1rem;
    opacity: 0.85;
}

.copy-feedback {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: rgba(148, 199, 255, 0.82);
    min-height: 1em;
}

.gift-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 1100px) {
    .gift-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gift-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    background: rgba(15, 23, 42, 0.85);
    background-image: var(--gift-image);
    background-size: cover;
    background-position: center;
}

.gift-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.9));
}

.gift-card__overlay {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    height: 100%;
    align-content: flex-end;
    color: rgba(236, 248, 255, 0.95);
    backdrop-filter: blur(2px);
}

.gift-card__overlay h2 {
    margin: 0;
    font-size: 1.2rem;
}

.gift-card__overlay p {
    margin: 0;
    color: rgba(236, 248, 255, 0.8);
}

.gift-card__footer {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.gift-card.is-claimed .gift-card__overlay {
    opacity: 0.8;
}

.gift-detail__hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-image: var(--gift-image);
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: grid;
    align-items: end;
}

.gift-detail__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.8));
}

.gift-detail__hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.25rem, 6vw, 2rem);
    color: rgba(236, 248, 255, 0.95);
}

.gift-detail__hero-content h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.gift-detail__body {
    display: grid;
    gap: 1.75rem;
    margin-top: 2rem;
}

.gift-detail__content p {
    margin: 0 0 1rem;
}

.gift-claim {
    border-radius: 20px;
    border: 1px solid rgba(148, 199, 255, 0.2);
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    display: grid;
    gap: 1rem;
}

.gift-claim__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gift-manage__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gift-editor__form {
    display: grid;
    gap: 1rem;
    max-width: 720px;
}

.lang-tabs {
    display: grid;
    gap: 1rem;
}

.lang-tabs .tab-list {
    display: inline-flex;
    gap: 0.5rem;
    border: 1px solid rgba(148, 199, 255, 0.25);
    border-radius: 999px;
    padding: 0.35rem;
    background: rgba(15, 23, 42, 0.65);
}

.lang-tabs .tab-trigger {
    border: none;
    background: transparent;
    color: rgba(236, 248, 255, 0.8);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-tabs .tab-trigger.is-active {
    background: rgba(148, 199, 255, 0.2);
    color: rgba(236, 248, 255, 0.95);
}

.lang-panel {
    display: grid;
    gap: 1rem;
}

.lang-panel:not(.is-active) {
    display: none;
}

.toast-stack {
    position: fixed;
    top: clamp(1rem, 4vw, 2rem);
    right: clamp(1rem, 4vw, 2rem);
    display: grid;
    gap: 0.75rem;
    z-index: 1200;
}

.toast {
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.92);
    color: rgba(236, 248, 255, 0.95);
    border: 1px solid rgba(148, 199, 255, 0.35);
    box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.65);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-fading {
    opacity: 0;
    transform: translateY(-6px);
}

.toast.toast--success {
    border-color: rgba(134, 239, 172, 0.6);
}

.toast.toast--error {
    border-color: rgba(248, 113, 113, 0.6);
}

.guest-table-wrapper.slim {
    overflow: visible;
}

.guest-info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Playfair Display", "Georgia", serif;
    letter-spacing: 0.02em;
}

.guest-info-table th,
.guest-info-table td {
    padding: 0.45rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guest-info-table th {
    text-align: left;
    color: rgba(236, 248, 255, 0.78);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.guest-info-table td {
    color: rgba(248, 250, 252, 0.92);
    font-size: 1rem;
}

.management-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.management-table th,
.management-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(248, 250, 252, 0.08);
    text-align: left;
    vertical-align: top;
}

.management-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--muted);
}

.table-actions-column {
    width: 120px;
    text-align: right;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
}

.management-table td code {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.inline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.muted {
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

.badge-soft {
    background: rgba(136, 211, 206, 0.18);
    color: var(--accent);
}

.message-stack .form-feedback {
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(6px);
}

.button-bar {
    display: flex;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.button-bar__btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(236, 248, 255, 0.78);
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button-bar__btn:hover,
.button-bar__btn:focus-visible {
    background: rgba(136, 199, 255, 0.2);
    color: #dbeafe;
}

.button-bar__btn.is-active {
    background: linear-gradient(135deg, rgba(136, 199, 255, 0.8), rgba(148, 163, 184, 0.65));
    color: #0f172a;
    box-shadow: 0 12px 20px -16px rgba(15, 23, 42, 0.8);
}

.select-wrapper {
    position: relative;
    display: inline-grid;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.select-wrapper.custom-select.is-open {
    z-index: 650;
}

.select-input {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 199, 255, 0.28);
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
    color: rgba(236, 248, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    appearance: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 32px -28px rgba(15, 23, 42, 0.8);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(4px);
}

.select-input:hover {
    border-color: rgba(148, 199, 255, 0.55);
    background: linear-gradient(155deg, rgba(17, 27, 48, 0.95), rgba(31, 45, 70, 0.9));
}

.select-input:focus-visible {
    outline: none;
    border-color: rgba(148, 211, 206, 0.85);
    box-shadow: 0 0 0 4px rgba(136, 211, 206, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background: linear-gradient(155deg, rgba(18, 29, 50, 0.97), rgba(11, 22, 42, 0.95));
}

.select-input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: none;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid rgba(236, 248, 255, 0.7);
    border-bottom: 2px solid rgba(236, 248, 255, 0.7);
    transform: translateY(-55%) rotate(45deg);
    pointer-events: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.select-wrapper:focus-within::after {
    border-color: rgba(148, 211, 206, 0.85);
    transform: translateY(-52%) rotate(45deg);
}

.select-wrapper--compact .select-input {
    padding: 0.5rem 2.25rem 0.5rem 0.85rem;
    font-size: 0.95rem;
    border-radius: 14px;
}

.select-wrapper--compact::after {
    right: 0.85rem;
}

.select-input option {
    background-color: rgba(13, 23, 42, 0.96);
    color: rgba(236, 248, 255, 0.96);
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.55rem 0.9rem;
}

.select-input[data-select-enhanced="true"] {
    display: none;
}

.select-input option:nth-child(odd) {
    background-color: rgba(19, 31, 52, 0.96);
}

.select-input option:disabled {
    color: rgba(148, 163, 184, 0.6);
    background-color: rgba(15, 23, 42, 0.5);
    font-weight: 500;
}

.select-input option:hover,
.select-input option:focus,
.select-input option:checked {
    background: linear-gradient(135deg, rgba(148, 199, 255, 0.75), rgba(136, 211, 206, 0.6));
    color: #0f1f3d;
}

.select-input option:active {
    background: linear-gradient(135deg, rgba(136, 199, 255, 0.9), rgba(99, 179, 237, 0.75));
}

.select-input optgroup {
    background: rgba(14, 24, 44, 0.95);
    color: rgba(226, 232, 240, 0.82);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem 0.25rem;
}

.select-wrapper.custom-select {
    position: relative;
}

.select-wrapper.custom-select::after {
    display: none;
}

.custom-select__trigger {
    width: 100%;
    padding: 0.75rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 199, 255, 0.28);
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
    color: rgba(236, 248, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 32px -28px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    position: relative;
    text-align: left;
}

.custom-select__trigger:hover {
    border-color: rgba(148, 199, 255, 0.55);
    background: linear-gradient(155deg, rgba(17, 27, 48, 0.95), rgba(31, 45, 70, 0.9));
}

.custom-select__trigger:focus-visible {
    outline: none;
    border-color: rgba(148, 211, 206, 0.85);
    box-shadow: 0 0 0 4px rgba(136, 211, 206, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background: linear-gradient(155deg, rgba(18, 29, 50, 0.97), rgba(11, 22, 42, 0.95));
}

.custom-select__trigger.is-placeholder {
    color: rgba(226, 232, 240, 0.64);
    font-weight: 500;
}

.custom-select__trigger.is-disabled {
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: none;
}

.custom-select__label {
    flex: 1 1 auto;
    min-width: 0;
}

.custom-select__caret {
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid rgba(236, 248, 255, 0.7);
    border-bottom: 2px solid rgba(236, 248, 255, 0.7);
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex: none;
}

.select-wrapper.custom-select.is-open .custom-select__caret {
    transform: rotate(225deg);
    border-color: rgba(148, 211, 206, 0.85);
}

.custom-select__menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 400;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: rgba(11, 22, 42, 0.98);
    border: 1px solid rgba(148, 199, 255, 0.4);
    border-radius: 18px;
    box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.75);
    max-height: 16rem;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.select-wrapper.custom-select.is-open .custom-select__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 600;
}

.custom-select__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    color: rgba(236, 248, 255, 0.92);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.custom-select__option::after {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: transparent;
    flex: none;
}

.custom-select__option.is-selected {
    font-weight: 700;
    color: #0f1f3d;
    background: linear-gradient(135deg, rgba(148, 199, 255, 0.75), rgba(136, 211, 206, 0.65));
    box-shadow: 0 12px 18px -16px rgba(136, 199, 255, 0.6);
}

.custom-select__option.is-selected::after {
    content: "✓";
    color: #0f1f3d;
    font-size: 0.8rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.08);
}

.custom-select__option.is-highlighted:not(.is-disabled) {
    background: rgba(148, 199, 255, 0.28);
    color: rgba(236, 248, 255, 0.96);
}

.custom-select__option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.custom-select__option.is-disabled::after {
    display: none;
}

.custom-select__option + .custom-select__option {
    margin-top: 0.25rem;
}

.custom-select__menu::-webkit-scrollbar {
    width: 8px;
}

.custom-select__menu::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 999px;
}

.custom-select__menu::-webkit-scrollbar-thumb {
    background: rgba(148, 199, 255, 0.45);
    border-radius: 999px;
}

.select-wrapper--compact .custom-select__trigger {
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    font-size: 0.95rem;
    width: auto;
    min-width: 8rem;
}

.select-wrapper--compact .custom-select__menu {
    border-radius: 14px;
    font-size: 0.95rem;
}

.select-wrapper--compact .custom-select__option {
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
}

.form-field__label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(236, 248, 255, 0.75);
}

.group-mode-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.group-mode-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.group-mode-toggle__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 199, 255, 0.2);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.group-mode-toggle__option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.group-mode-toggle__option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(236, 248, 255, 0.78);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.group-mode-toggle__option:is(.is-active, :hover) {
    border-color: rgba(148, 199, 255, 0.55);
    background: rgba(148, 199, 255, 0.18);
    box-shadow: 0 10px 18px -16px rgba(148, 199, 255, 0.65);
}

.group-mode-toggle__option:is(.is-active, :hover) span,
.group-mode-toggle__option input:checked + span {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(148, 199, 255, 0.9), rgba(136, 211, 206, 0.75));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.group-mode-toggle__option input:focus-visible + span {
    outline: 3px solid rgba(136, 211, 206, 0.55);
    outline-offset: 4px;
}

.group-mode-hint {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(236, 248, 255, 0.7);
}

.group-mode-panels {
    display: grid;
    gap: 1rem;
}

.group-mode-panel {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px dashed rgba(148, 199, 255, 0.28);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.group-mode-panel.is-hidden {
    display: none;
}

.group-mode-panel-alias.is-hidden {
    display: none;
}

.dashboard-tabs {
    display: grid;
    gap: 1.75rem;
}

.tab-list {
    display: inline-flex;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 999px;
    padding: 0.35rem;
    border: 1px solid rgba(148, 199, 255, 0.25);
    box-shadow: 0 18px 35px -28px rgba(15, 23, 42, 0.6);
    width: max-content;
}

.tab-trigger {
    border: none;
    background: transparent;
    color: rgba(236, 248, 255, 0.75);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-trigger:hover,
.tab-trigger:focus-visible {
    background: rgba(148, 199, 255, 0.25);
    color: #0f172a;
}

.tab-trigger.is-active {
    background: linear-gradient(135deg, rgba(148, 199, 255, 0.85), rgba(136, 211, 206, 0.65));
    color: #0f172a;
    box-shadow: 0 12px 25px -18px rgba(136, 199, 255, 0.6);
}

.tab-panel {
    display: block;
}

.tab-panel[hidden] {
    display: none;
}

.register-card--list .card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.table-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-search {
    position: relative;
    display: inline-flex;
    width: clamp(220px, 30vw, 320px);
}

.table-search input[type="search"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 199, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.table-search input[type="search"]::placeholder {
    color: rgba(226, 232, 240, 0.65);
}

.table-search input[type="search"]:focus {
    outline: none;
    border-color: rgba(136, 211, 206, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(136, 211, 206, 0.18);
}

.management-table thead th {
    padding: 0.75rem 0.65rem;
}

.management-table thead button {
    background: transparent;
    border: none;
    color: rgba(236, 248, 255, 0.78);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.management-table thead button:hover,
.management-table thead button:focus-visible {
    color: #0ea5e9;
}

.management-table thead button::after {
    content: attr(data-sort-indicator);
    font-size: 0.75rem;
    color: inherit;
    opacity: 0.8;
}

.management-table tbody td {
    vertical-align: top;
}

.table-summary {
    margin-top: 1rem;
    color: rgba(236, 248, 255, 0.75);
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .tab-list {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.5rem;
    }

    .tab-trigger {
        flex: 1 1 45%;
        text-align: center;
    }
}

.select-input[multiple] {
    padding-right: 1rem;
    min-height: 8rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.select-input[multiple] option {
    padding: 0.45rem 0.65rem;
}

.step-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(136, 199, 255, 0.2);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.step-subtitle {
    margin: 0.35rem 0 0;
    color: rgba(236, 248, 255, 0.78);
    font-size: 1.05rem;
    font-family: "Playfair Display", "Georgia", serif;
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.summary-card {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.1rem 1.25rem;
    display: grid;
    gap: 0.9rem;
}

.summary-intro {
    margin: 0;
    color: rgba(240, 247, 255, 0.92);
    font-family: "Playfair Display", "Georgia", serif;
    font-size: 1.15rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

.summary-note {
    margin: 0.5rem 0 0;
    display: inline-flex;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    color: var(--muted);
    background: rgba(148, 163, 184, 0.08);
}

.empty-state span {
    font-size: 2rem;
}

.empty-state p {
    margin: 0;
    text-align: center;
    max-width: 32ch;
}

.management-table td[data-title]::before {
    content: attr(data-title) ": ";
    display: none;
    font-weight: 600;
    color: var(--muted);
}

@media (max-width: 720px) {
    .register-layout {
        grid-template-columns: 1fr;
    }

    .summary-card {
        gap: 0.65rem;
        padding: 1rem 1.1rem;
    }

    .guest-summary div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .button-bar {
        flex-direction: column;
    }

    .button-bar__btn {
        width: 100%;
    }

    .registry-code-input input {
        width: 100%;
    }

    .management-table {
        min-width: 0;
    }

    .management-table thead {
        display: none;
    }

    .guest-info-table th,
    .guest-info-table td {
        display: block;
        padding: 0.4rem 0;
        border-bottom: none;
    }

    .guest-info-table td {
        padding-bottom: 0.9rem;
    }

    .management-table,
    .management-table tbody,
    .management-table tr,
    .management-table td {
        display: block;
        width: 100%;
    }

    .management-table tr {
        margin-bottom: 1.25rem;
        border: 1px solid rgba(248, 250, 252, 0.08);
        border-radius: 16px;
        overflow: hidden;
    }

    .management-table td {
        border: none;
        border-bottom: 1px solid rgba(248, 250, 252, 0.05);
        padding: 0.75rem 1rem;
    }

    .management-table td:last-child {
        border-bottom: none;
    }

    .table-actions {
        justify-content: flex-start;
    }

    .table-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .management-table td[data-title]::before {
        display: inline;
        font-size: 0.8rem;
        margin-right: 0.4rem;
    }
}

.travel-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.travel-card {
    padding: 1.75rem;
    background: rgba(248, 250, 252, 0.04);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.travel-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.travel-card p,
.travel-card ul {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.travel-card ul {
    padding-left: 1.15rem;
}

.palette-note {
    text-align: center;
}

.palette-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.color-card {
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
    min-width: 0;
}

.color-meta {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
}

.color-card h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.color-card p {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(236, 248, 255, 0.8);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.color-swatch {
    max-width: 150px;
    min-width: 150px;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    background: var(--swatch, #1f2937);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.site-footer {
    border-top: 1px solid rgba(248, 250, 252, 0.06);
    padding: 2.5rem clamp(1.5rem, 6vw, 5rem);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
}

.footer-inner {
    margin: 0 auto;
    max-width: var(--max-width);
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.footer-note {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.06);
    border-radius: 999px;
    padding: 0.35rem;
    max-width: 100%;
}

.footer-credit {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-disclaimer {
    margin: 0;
    color: rgba(236, 248, 255, 0.7);
    font-size: 0.85rem;
    text-align: center;
    max-width: 42ch;
}

.contacts-section {
    text-align: center;
}

.contact-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.contact-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 199, 255, 0.15);
    box-shadow: 0 18px 35px -28px rgba(15, 23, 42, 0.65);
}

.contact-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.contact-info {
    display: grid;
    gap: 0.5rem;
}

.contact-info h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-info a {
    color: rgba(148, 199, 255, 0.9);
   font-weight: 600;
   text-decoration: none;
}

.is-image-clickable {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.is-image-clickable:focus-visible {
    outline: 2px solid rgba(148, 199, 255, 0.8);
    outline-offset: 4px;
}

.is-image-clickable:hover {
    transform: scale(1.015);
}

.image-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 5vw, 3rem);
    background: rgba(10, 18, 35, 0.78);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.image-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.image-modal__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
}

.image-modal__content {
    position: relative;
    z-index: 1;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(148, 199, 255, 0.25);
    box-shadow: 0 28px 65px -28px rgba(15, 23, 42, 0.8);
    padding: clamp(1rem, 3vw, 1.75rem);
    max-width: min(90vw, 820px);
    width: 100%;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.image-modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: none;
    background: rgba(148, 199, 255, 0.12);
    color: rgba(236, 248, 255, 0.9);
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal__close:hover,
.image-modal__close:focus-visible {
    background: rgba(148, 199, 255, 0.2);
    transform: scale(1.05);
    outline: none;
}

.image-modal__figure {
    margin: 0;
    display: grid;
    gap: 0.75rem;
    width: 100%;
}

.image-modal__image {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(10, 18, 35, 0.65);
}

.image-modal__caption {
    margin: 0;
    color: rgba(236, 248, 255, 0.75);
    font-size: 0.9rem;
    text-align: center;
}

.image-modal__download {
    min-width: 140px;
}

.image-modal-open {
    overflow: hidden;
}

.contact-info a:hover,
.contact-info a:focus-visible {
    text-decoration: underline;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}



@media (max-width: 900px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem clamp(1rem, 6vw, 1.5rem);
    }

    .site-brand img {
        height: clamp(40px, 9vw, 56px);
    }

    .nav-toggle-label {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        right: clamp(1rem, 6vw, 1.5rem);
        top: calc(100% + 1rem);
        flex-direction: column;
        align-items: flex-start;
        background: rgba(15, 23, 42, 0.95);
        padding: 1rem 1.25rem;
        border-radius: 18px;
        border: 1px solid rgba(248, 250, 252, 0.08);
        box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.55);
        width: min(70vw, 320px);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .site-nav a {
        padding: 0.35rem 0;
    }

    .nav-toggle:checked + .nav-toggle-label + .site-nav {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-logout-form,
    .nav-logout-form button {
        width: 100%;
    }

    .nav-logout-form button {
        justify-content: flex-start;
    }

    .hero {
        padding: clamp(2.3rem, 8vw, 4rem);
    }

    .site-main {
        padding: clamp(2rem, 8vw, 3.2rem) clamp(1rem, 7vw, 2rem);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: clamp(2.15rem, 9vw, 3.1rem);
    }

    .hero-subtitle {
        font-size: clamp(1.05rem, 5vw, 1.45rem);
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-chip {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: clamp(1.6rem, 7vw, 2.4rem);
    }

    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        text-align: center;
    }

    .detail-card p,
    .timeline-description,
    .travel-card p,
    .travel-card ul,
    .registry-card a {
        font-size: 0.95rem;
    }

    .registry-code-input {
        flex-direction: column;
        align-items: stretch;
    }

    .registry-code-input .btn {
        width: 100%;
        justify-content: center;
    }
}


.map-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1rem;
}

.map-wrapper {
    display: grid;
    gap: 0.5rem;
}

.map-wrapper h4 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(236, 248, 255, 0.82);
}

.map {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(148, 199, 255, 0.2);
    background: rgba(15, 23, 42, 0.85);
    overflow: hidden;
    min-height: 240px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


@media (max-width: 450px) {
    .section, .gift-info-card {
        padding: clamp(0.6rem, 3vw, 10.4rem)
    }

    .gift-info-card__header, .gift-info-card__body {
        max-width: 240px;
    }

    .copy-chip__icon {
        display:none;
    }

    .copy-chip {
        padding: 0.55rem 0.2rem 0.55rem 0.5rem;
    }

    .map {
        min-height: unset;
    }
}
