/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #3d2c2e;
    background: #fdf6f4;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.anim-fade-in {
    animation: fadeIn 1.2s ease-out both;
}

.anim-slide-up {
    animation: slideUp 0.9s ease-out both;
}

.anim-delay-1 { animation-delay: 0.4s; }
.anim-delay-2 { animation-delay: 0.7s; }
.anim-delay-3 { animation-delay: 1.0s; }

/* ===== INVITATION PAGE ===== */
.invitation-page {
    background: #fdf6f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, #fdf6f4 0%, rgba(253, 246, 244, 0) 100%);
    pointer-events: none;
}

/* ===== HEADING SECTION ===== */
.heading-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem 1rem;
    margin-top: -2rem;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(0.85rem, 3.2vw, 1.4rem);
    letter-spacing: clamp(0.1em, 0.25em, 0.3em);
    text-transform: uppercase;
    color: #7a6468;
    margin-bottom: 0.3rem;
}

.hero-names {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(2.8rem, 16vw, 7rem);
    color: #3d2c2e;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem 1.5rem 2rem;
    text-align: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 5.5vw, 3rem);
    margin-bottom: 1.2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 6.5vw, 3.8rem);
    font-weight: 300;
    color: #3d2c2e;
    line-height: 1;
}

.countdown-label {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.55rem, 1.5vw, 0.72rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9e8a8e;
    margin-top: 0.3rem;
}

.info-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    max-width: 260px;
    height: 1.2rem;
}

.info-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.5px;
    background: linear-gradient(to right, transparent, #d4b0ad 18%, #d4b0ad 82%, transparent);
    transform: translateY(-50%);
}

.info-divider::after {
    content: '✦';
    position: relative;
    z-index: 1;
    background: #fdf6f4;
    padding: 0 0.65rem;
    color: #d4b0ad;
    font-size: 0.55rem;
    letter-spacing: 0.5em;
}

.info-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 500;
    color: #3d2c2e;
    letter-spacing: 0.03em;
}

.info-time {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.78rem, 2vw, 0.9rem);
    font-weight: 400;
    color: #7a6468;
    margin-top: 0.2rem;
}

/* ===== RSVP SECTION ===== */
.rsvp-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.rsvp-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(140, 100, 105, 0.07);
}

.rsvp-title {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: #3d2c2e;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: #3d2c2e;
    letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e6cfc9;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: #3d2c2e;
    background: #fdf6f4;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9e8a8e;
}

.form-group textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.4rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.88rem;
    cursor: pointer;
    color: #3d2c2e;
}

.radio-label input[type="radio"] {
    accent-color: #b08585;
    width: 16px;
    height: 16px;
}

/* ===== PERSONAS SECTION (inside RSVP) ===== */
.personas-section {
    background: #faf0ee;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #f0ddd9;
}

.personas-group {
    margin-bottom: 1rem;
}

.personas-group:last-child {
    margin-bottom: 0;
}

.personas-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #3d2c2e;
}

.persona-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.persona-row input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid #e6cfc9;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: #3d2c2e;
    background: #fff;
    transition: border-color 0.3s ease;
}

.persona-row input[type="text"]:focus {
    outline: none;
    border-color: #9e8a8e;
}

.btn-remove {
    width: 38px;
    height: 38px;
    border: 1px solid #e6cfc9;
    border-radius: 8px;
    background: #fff;
    color: #b07070;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-remove:hover {
    background: #fdf0f0;
    border-color: #d4a8a8;
}

.btn-add {
    background: none;
    border: none;
    color: #7a6468;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.btn-add:hover {
    color: #3d2c2e;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: #b08585;
    color: #fdf6f4;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #96696b;
}

/* ===== GRACIAS PAGE ===== */
.gracias-page {
    background: #fdf6f4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.gracias-container {
    width: 100%;
    max-width: 460px;
}

.gracias-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px rgba(140, 100, 105, 0.07);
    text-align: center;
}

.gracias-card .couple-names {
    font-family: 'Rouge Script', cursive;
    font-size: 3.5rem;
    color: #3d2c2e;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gracias-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #3d2c2e;
}

.gracias-text {
    font-size: 0.9rem;
    color: #7a6468;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.gracias-pago {
    font-size: 0.82rem;
    font-style: italic;
    color: #9e8a8e;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    border-left: 2px solid #d4b0ad;
    text-align: left;
}

.btn-back {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: #b08585;
    color: #fdf6f4;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-back:hover {
    background: #96696b;
}

/* ===== ADMIN PAGE ===== */
.admin-page {
    background: #f8f0ee;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.admin-container {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-title {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #3d2c2e;
    text-align: center;
    margin-bottom: 2rem;
}

.admin-table-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #b08585;
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 6px;
    margin: 1.5rem 0 0.6rem;
}

.admin-table-title--no {
    background: #9e8a8e;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(140, 100, 105, 0.06);
}

.card-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: #9e8a8e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.card-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3d2c2e;
}

/* Admin Table */
.admin-table-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 2px 12px rgba(140, 100, 105, 0.06);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead th {
    background: #b08585;
    color: #fdf6f4;
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 500;
}

.admin-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0ddd9;
    vertical-align: middle;
}

.row-main:hover {
    background: #fdf6f4;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-yes {
    background: #e8f0e4;
    color: #4a7c59;
}

.badge-no {
    background: #fde8e8;
    color: #a04040;
}

/* Action Buttons */
.actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-expand {
    padding: 0.35rem 0.8rem;
    border: 1px solid #e6cfc9;
    border-radius: 6px;
    background: #fff;
    color: #3d2c2e;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-expand:hover {
    background: #f8f0ee;
}

.btn-delete {
    padding: 0.35rem 0.8rem;
    border: 1px solid #e0b0b0;
    border-radius: 6px;
    background: #fff;
    color: #a04040;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-delete:hover {
    background: #fdf0f0;
}

/* Detail Table */
.row-detail td {
    padding: 0 1rem 1rem 1rem;
    background: #fdf6f4;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.detail-table thead th {
    background: #f0ddd9;
    color: #3d2c2e;
    padding: 0.5rem 0.8rem;
    text-align: left;
    font-weight: 500;
}

.detail-table tbody td {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #f0ddd9;
}

.pagado-check {
    width: 18px;
    height: 18px;
    accent-color: #b08585;
    cursor: pointer;
}

.no-personas {
    color: #9e8a8e;
    font-style: italic;
    padding: 0.5rem 0;
}

/* ===== VENUE SECTION ===== */
.venue-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    text-align: center;
}

.venue-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(140, 100, 105, 0.07);
}

.venue-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9e8a8e;
    margin-bottom: 0.5rem;
}

.venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3.8vw, 1.7rem);
    font-weight: 600;
    color: #3d2c2e;
    margin-bottom: 0.5rem;
}

.venue-address {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #7a6468;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: #b08585;
    color: #fdf6f4;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-maps:hover {
    background: #96696b;
}

/* ===== ITINERARY SECTION ===== */
.itinerary-section {
    width: 100%;
    padding: 1rem 1.5rem 2.5rem;
}

.itinerary-title {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    text-align: center;
    color: #3d2c2e;
    font-weight: 400;
    margin-bottom: 2rem;
}

.itinerary-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.itinerary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.itinerary-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itinerary-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.itinerary-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    font-weight: 600;
    color: #3d2c2e;
    margin-bottom: 0.2rem;
    display: block;
}

.itinerary-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3d2c2e;
    margin: 0 0 0.2rem;
}

.itinerary-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #7a6468;
    font-weight: 300;
    margin: 0;
}

/* ===== MENU SECTION ===== */
.menu-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem 2rem;
    text-align: center;
}

.menu-title {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    color: #3d2c2e;
    font-weight: 400;
    margin-bottom: 1.2rem;
}

.menu-cards {
    display: flex;
    gap: 1rem;
}

.menu-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 24px rgba(140, 100, 105, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9e8a8e;
    margin-bottom: 0.4rem;
}

.menu-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 5vw, 2.4rem);
    font-weight: 600;
    color: #3d2c2e;
    line-height: 1;
    margin-bottom: 1rem;
}

.menu-items {
    list-style: none;
    padding: 0;
    width: 100%;
}

.menu-items li {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #7a6468;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0ddd9;
}

.menu-items li:last-child {
    border-bottom: none;
}

/* ===== PHOTO BREAKS ===== */
.photo-break {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.photo-break-wrapper {
    position: relative;
    overflow: hidden;
}

.photo-break-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.photo-break-wrapper::before,
.photo-break-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 5%;
    z-index: 1;
    pointer-events: none;
}

.photo-break-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, #fdf6f4 0%, rgba(253, 246, 244, 0) 100%);
}

.photo-break-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, #fdf6f4 0%, rgba(253, 246, 244, 0) 100%);
}

/* ===== SOBRES SECTION ===== */
.sobres-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.sobres-card {
    background: #faf0ee;
    border: 1px solid #f0ddd9;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.sobres-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

.sobres-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 500;
    color: #3d2c2e;
    margin-bottom: 0.75rem;
}

.sobres-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: #6b5255;
    line-height: 1.7;
    margin: 0;
}

/* ===== VERSE SECTION ===== */
.verse-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
}

.verse-card {
    padding: 2rem 1.5rem;
}

.verse-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: #3d2c2e;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.verse-reference {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9e8a8e;
    letter-spacing: 0.08em;
}

/* ===== GALLERY / CAROUSEL ===== */
.gallery-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem 1.5rem 2rem;
}

.gallery-title {
    font-family: 'Rouge Script', cursive;
    font-size: 2.8rem;
    text-align: center;
    color: #3d2c2e;
    font-weight: 400;
    margin-bottom: 1.2rem;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(140, 100, 105, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #3d2c2e;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
    line-height: 1;
}

.carousel-btn:hover {
    background: #fff;
}

.carousel-prev { left: 0.6rem; }
.carousel-next { right: 0.6rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    z-index: 2;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: #fff;
}

/* ===== FAREWELL SECTION ===== */
.farewell-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
    text-align: center;
}

.farewell-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: #7a6468;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.farewell-names {
    font-family: 'Rouge Script', cursive;
    font-size: clamp(2rem, 8vw, 3.8rem);
    color: #3d2c2e;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

/* ===== ADMIN TABS ===== */
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e6cfc9;
}

.admin-tab {
    padding: 0.6rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #9e8a8e;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.admin-tab:hover {
    color: #3d2c2e;
}

.admin-tab.active {
    color: #3d2c2e;
    border-bottom-color: #b08585;
    font-weight: 600;
}

/* ===== EDITOR BD ===== */
.editor-table .editor-input {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #e6cfc9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #3d2c2e;
    background: #fff;
    transition: border-color 0.2s;
}

.editor-table .editor-input:focus {
    outline: none;
    border-color: #b08585;
}

.editor-input-num {
    max-width: 90px;
}

.editor-table .editor-select {
    padding: 0.35rem 0.4rem;
    border: 1px solid #e6cfc9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #3d2c2e;
    background: #fff;
    cursor: pointer;
}

.editor-table .editor-select:focus {
    outline: none;
    border-color: #b08585;
}

.cell-readonly {
    color: #9e8a8e;
    font-size: 0.82rem;
}

.btn-save {
    padding: 0.35rem 0.9rem;
    border: none;
    border-radius: 6px;
    background: #b08585;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-save:hover {
    background: #9a7070;
}

.btn-save.btn-saved {
    background: #4a7c59;
}

.btn-delete-sm {
    padding: 0.35rem 0.6rem;
    border: 1px solid #e0b0b0;
    border-radius: 6px;
    background: #fff;
    color: #a04040;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-delete-sm:hover {
    background: #fdf0f0;
}

.editor-add-form {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 12px rgba(140, 100, 105, 0.06);
}

.editor-add-form h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3d2c2e;
    margin-bottom: 0.75rem;
}

.editor-add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.editor-add-row .editor-input {
    flex: 1;
    min-width: 140px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #e6cfc9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #3d2c2e;
}

.editor-add-row .editor-select {
    padding: 0.4rem 0.5rem;
    border: 1px solid #e6cfc9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #3d2c2e;
}

/* ===== RESPONSIVE ===== */

/* --- Mobile < 600px --- */
@media (max-width: 600px) {
    .menu-cards {
        flex-direction: column;
    }

    .rsvp-card {
        padding: 2rem 1.25rem;
    }

    .venue-card {
        padding: 1.5rem 1.25rem;
    }

    .admin-page {
        padding: 1.25rem 0.75rem;
    }

    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-table {
        font-size: 0.8rem;
        min-width: 560px;
    }

    .actions {
        flex-direction: column;
    }
}

/* --- Tiny phones < 380px --- */
@media (max-width: 380px) {
    .rsvp-card {
        padding: 1.5rem 1rem;
    }

    .verse-card {
        padding: 1.5rem 1rem;
    }

    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Tablet 601px – 899px --- */
@media (min-width: 601px) and (max-width: 899px) {
    .hero,
    .heading-section,
    .countdown-section,
    .farewell-section,
    .venue-section,
    .itinerary-section,
    .menu-section,
    .rsvp-section,
    .verse-section,
    .photo-break {
        max-width: 520px;
    }

    .summary-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Desktop >= 900px --- */
@media (min-width: 900px) {
    .hero,
    .heading-section,
    .countdown-section,
    .farewell-section,
    .venue-section,
    .itinerary-section,
    .menu-section,
    .rsvp-section,
    .verse-section,
    .photo-break {
        max-width: 580px;
    }

    .summary-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .admin-page {
        padding: 2.5rem 2rem;
    }
}


/* ===== PETALS ===== */
@keyframes petalFall {
    0%   { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; }
    6%   { opacity: 0.85; }
    30%  { transform: translateY(28vh) translateX(28px) rotate(110deg); }
    60%  { transform: translateY(60vh) translateX(-18px) rotate(270deg); }
    92%  { opacity: 0.65; }
    100% { transform: translateY(108vh) translateX(12px) rotate(490deg); opacity: 0; }
}

.petal {
    position: fixed;
    top: -20px;
    border-radius: 50% 0 50% 0;
    pointer-events: none;
    z-index: 9997;
    animation: petalFall linear infinite;
}

/* ===== MONOGRAM ===== */
@keyframes drawRing {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.75); }
    to   { opacity: 1; transform: scale(1); }
}

.monogram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(120px, 36vw, 200px);
    height: clamp(120px, 36vw, 200px);
    margin: 0 auto 1.2rem;
}

.monogram-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring-outer {
    fill: none;
    stroke: #d4b0ad;
    stroke-width: 1.5;
    stroke-dasharray: 566;
    stroke-dashoffset: 566;
    animation: drawRing 2.8s ease-out 0.4s forwards;
}

.ring-inner {
    fill: none;
    stroke: #e6cfc9;
    stroke-width: 0.7;
    stroke-dasharray: 516;
    stroke-dashoffset: 516;
    animation: drawRing 2.2s ease-out 0.7s forwards;
}

.monogram-initials {
    position: relative;
    z-index: 1;
    font-family: 'Rouge Script', cursive;
    font-size: clamp(2.2rem, 9vw, 4.8rem);
    color: #3d2c2e;
    line-height: 1;
    opacity: 0;
    animation: fadeInScale 1.4s ease-out 1.8s forwards;
}
