/* ============================================================
   BLUE TOSKA (WAVY-SFE-07) - RSVP & WISHES STYLES
   Studio 1 Invitation Theme
   ============================================================ */

:root {
    --rsvp-primary: #00aeb5;
    --rsvp-primary-dark: #00878c;
    --rsvp-primary-light: #e6f7f8;
    --rsvp-text-dark: #1b2f30;
    --rsvp-text-muted: #547274;
    --rsvp-border: rgba(0, 174, 181, 0.25);
    --rsvp-card-bg: #FFFFFF;
    --rsvp-shadow: 0 10px 30px rgba(0, 174, 181, 0.08);
    --rsvp-radius: 16px;
}

/* 1. SECTION & WRAPPER */
.section-rsvp {
    padding: 60px 20px;
    position: relative;
}

.rsvp-card-wrapper {
    max-width: 580px;
    margin: 25px auto 40px auto;
    background: var(--rsvp-card-bg);
    border-radius: var(--rsvp-radius);
    padding: 28px 24px;
    border: 1px solid var(--rsvp-border);
    box-shadow: var(--rsvp-shadow);
    text-align: left;
    backdrop-filter: blur(8px);
}

@media (min-width: 600px) {
    .rsvp-card-wrapper {
        padding: 35px 32px;
    }
}

.total-ucapan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rsvp-primary-light);
    color: var(--rsvp-primary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 22px;
    border: 1px solid rgba(0, 174, 181, 0.25);
}

.total-ucapan-badge i {
    font-size: 14px;
    color: var(--rsvp-primary-dark);
}

/* 2. FORM CONTROLS & LABELS */
.rsvp-form .form-group {
    margin-bottom: 20px;
}

.rsvp-form .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rsvp-text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.rsvp-form .form-label i {
    color: var(--rsvp-primary);
    font-size: 14px;
}

.rsvp-form .form-label small {
    font-weight: 400;
    color: var(--rsvp-text-muted);
}

.rsvp-form .form-control {
    width: 100%;
    padding: 12px 16px;
    background: #f8fcfe;
    border: 1.5px solid #d2eef0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--rsvp-text-dark);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.rsvp-form .form-control:focus {
    outline: none;
    border-color: var(--rsvp-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 174, 181, 0.15);
}

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

/* 3. ATTENDANCE RADIO PILLS */
.attendance-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.attendance-pill {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.attendance-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    border: 1.5px solid #d2eef0;
    background: #f8fcfe;
    font-size: 12px;
    font-weight: 600;
    color: var(--rsvp-text-muted);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.pill-content i {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.attendance-pill input[type="radio"]:checked + .pill-content {
    background: #ffffff;
    border-color: var(--rsvp-primary);
    color: var(--rsvp-primary-dark);
    box-shadow: 0 6px 16px rgba(0, 174, 181, 0.18);
    transform: translateY(-2px);
}

.attendance-pill input[type="radio"]:checked + .pill-content i {
    color: var(--rsvp-primary);
    transform: scale(1.15);
}

/* 4. SUBMIT BUTTON */
.btn-rsvp-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00aeb5 0%, #0db5bc 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(0, 174, 181, 0.3);
    transition: all 0.3s ease;
}

.btn-rsvp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 174, 181, 0.4);
    background: linear-gradient(135deg, #009aa0 0%, #08a3a9 100%);
}

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

.btn-rsvp-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* 5. WISHES LIST CONTAINER */
.rsvp-list-container {
    max-width: 580px;
    margin: 0 auto;
    text-align: left;
}

.wishes-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--rsvp-text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishes-title i {
    color: var(--rsvp-primary);
}

.rsvp-comments-wrapper {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Custom Scrollbar */
.rsvp-comments-wrapper::-webkit-scrollbar {
    width: 6px;
}
.rsvp-comments-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 174, 181, 0.05);
    border-radius: 10px;
}
.rsvp-comments-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 174, 181, 0.3);
    border-radius: 10px;
}

/* Wish Card Item */
.wish-card-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 174, 181, 0.15);
    box-shadow: 0 4px 14px rgba(0, 174, 181, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wish-card-item:hover {
    box-shadow: 0 6px 18px rgba(0, 174, 181, 0.1);
}

.wish-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

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

.wish-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00aeb5, #cadfe1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 174, 181, 0.2);
}

.wish-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsvp-text-dark);
}

/* Status Badges */
.wish-status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wish-status-hadir {
    background: #e6f9f0;
    color: #1a7a44;
}

.wish-status-tidak_hadir {
    background: #fdf0f0;
    color: #c92a2a;
}

.wish-status-ragu {
    background: #fef8e7;
    color: #b7791f;
}

.wish-msg-body {
    font-size: 13.5px;
    line-height: 1.6;
    color: #3b5052;
    margin: 0 0 8px 0;
    word-break: break-word;
}

.wish-time-ago {
    font-size: 11px;
    color: var(--rsvp-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.wish-empty-notice {
    text-align: center;
    padding: 30px 15px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px dashed rgba(0, 174, 181, 0.3);
    color: var(--rsvp-text-muted);
    font-size: 13px;
    line-height: 1.6;
}
