/* ==========================================================================
   SECTION 9: RSVP & WISHES (BUKU TAMU & DOA RESTU)
   Luxury Botanical Glassmorphism Style - Suasana Alam / Sunda Priangan
   ========================================================================== */

.section-rsvp {
    background: linear-gradient(180deg, #fdfbf7 0%, #f6efe2 50%, #fdfbf7 100%);
    padding: 60px 20px 75px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.rsvp-bg-floral {
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 150px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.rsvp-bg-floral img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-15deg);
}

.rsvp-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rsvp-intro {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #635d4f;
    margin: -4px auto 28px;
    line-height: 1.6;
    text-align: center;
    max-width: 380px;
}

/* ==========================================================================
   RSVP FORM CARD
   ========================================================================== */

.rsvp-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 30px 24px 26px;
    box-shadow: 0 12px 36px -6px rgba(60, 45, 20, 0.08), 0 2px 8px rgba(60, 45, 20, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-top: 4px solid #b8860b;
    margin-bottom: 35px;
    position: relative;
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
    transition: all 0.3s ease;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: #2b271d;
    margin-bottom: 7px;
}

.form-group label i {
    color: #b8860b;
    font-size: 0.88rem;
    width: 16px;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #ded6c8;
    background: #fdfcf9;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #24221d;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3.5px rgba(184, 134, 11, 0.15);
    background: #ffffff;
}

.form-control::placeholder {
    color: #9c9689;
    font-size: 0.88rem;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384591b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.55;
}

.btn-submit-rsvp {
    width: 100%;
    background: linear-gradient(135deg, #6e7f67 0%, #4f6149 100%);
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(110, 127, 103, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.btn-submit-rsvp:hover {
    background: linear-gradient(135deg, #5b6c54 0%, #3e4e38 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(82, 99, 75, 0.45);
}

.btn-submit-rsvp:active {
    transform: translateY(0);
}

.btn-submit-rsvp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   WISHES / GUESTBOOK CARD & LIST
   ========================================================================== */

.wishes-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 26px 20px 22px;
    box-shadow: 0 12px 36px -6px rgba(60, 45, 20, 0.08), 0 2px 8px rgba(60, 45, 20, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-top: 4px solid #6e7f67;
    text-align: left;
    position: relative;
}

.wishes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee7db;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.wishes-count {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #784f18;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishes-header-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6e7f67;
    background: #eef3eb;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 6px;
    margin-right: -4px;
}

/* Custom Smooth Scrollbar */
.wishes-list::-webkit-scrollbar {
    width: 6px;
}

.wishes-list::-webkit-scrollbar-track {
    background: rgba(223, 214, 199, 0.3);
    border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: #d4c8b2;
    border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb:hover {
    background: #bba98e;
}

/* Wish Item Card */
.wish-item-card,
.wish-item {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-left: 3.5px solid #b8860b;
    box-shadow: 0 3px 12px rgba(60, 45, 20, 0.04);
    transition: all 0.25s ease;
}

.wish-item-card:hover,
.wish-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(60, 45, 20, 0.08);
    border-color: rgba(184, 134, 11, 0.4);
}

.wish-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.wish-item-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wish-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbf3db 0%, #ecdcb0 100%);
    border: 1.5px solid #dfb76c;
    color: #784f18;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.15);
}

.wish-name,
.wish-author {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.94rem;
    color: #24221d;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.wish-time {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    color: #8c867a;
    margin-top: 2px;
}

/* Status Badges */
.wish-status-badge,
.wish-status {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wish-status-hadir,
.wish-status.hadir {
    background: #eaf3e7;
    color: #2e6924;
    border: 1px solid rgba(46, 105, 36, 0.2);
}

.wish-status-hadir::before,
.wish-status.hadir::before {
    content: '●';
    font-size: 0.60rem;
    color: #2e6924;
}

.wish-status-tidak-hadir,
.wish-status.tidak-hadir {
    background: #fdf0f0;
    color: #ab2e2e;
    border: 1px solid rgba(171, 46, 46, 0.2);
}

.wish-status-tidak-hadir::before,
.wish-status.tidak-hadir::before {
    content: '●';
    font-size: 0.60rem;
    color: #ab2e2e;
}

.wish-status-ragu,
.wish-status.ragu {
    background: #fdf8eb;
    color: #8e6516;
    border: 1px solid rgba(142, 101, 22, 0.2);
}

.wish-status-ragu::before,
.wish-status.ragu::before {
    content: '●';
    font-size: 0.60rem;
    color: #8e6516;
}

.wish-message,
.wish-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #38352f;
    line-height: 1.62;
    word-break: break-word;
    margin: 4px 0 0 0;
}
