/* =====================================================
   Valentine's Mini Booking Form - CSS Stylesheet
   For WordPress WP Coder Plugin - Add to CSS Section
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* CSS Variables for Easy Customization */
:root {
    --color-primary: #fb7185;
    --color-brand: #ff8da1;
    --color-bg-light: transparent;
    --color-bg-dark: transparent;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-gray-950: #030712;
    --color-rose-50: #fff1f2;
    --color-rose-100: #ffe4e6;
    --color-rose-200: #fecdd3;
    --color-rose-500: #f43f5e;
    --color-rose-900: #881337;
    --font-display: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --border-radius: 12px;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

#valentine-booking-wrapper {
    font-family: var(--font-display);
    color: var(--color-gray-900);
    background-color: transparent;
    min-height: auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Main Content Grid */
.valentine-main {
    max-width: 1152px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* Booking Section */
.booking-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

/* WHITE Booking Card with GREY Outline - FORCE WHITE ALWAYS */
.booking-card {
    background-color: #ffffff !important; /* Force white background */
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-gray-300); /* Grey outline */
}

.booking-title {
    font-size: 1.875rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background-color: var(--color-gray-50);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 1.125rem;
    transition: all 0.2s;
    font-family: var(--font-display);
}

.form-input:hover {
    border-color: var(--color-rose-200);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

/* Date & Time Section */
.datetime-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .datetime-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Calendar Styles - PINK BACKGROUND */
.calendar-container {
    background-color: #ffe4e6;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 90% 80%, rgba(255, 141, 161, 0.15) 0%, transparent 15%);
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid var(--color-rose-100);
    box-shadow: 0 4px 6px -1px rgba(251, 113, 133, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.calendar-month {
    font-weight: 700;
    color: var(--color-gray-700);
}

.calendar-nav {
    display: none; /* Hidden - only one month needed */
    gap: 0.5rem;
}

.calendar-nav-btn {
    display: none; /* Hidden - only one month needed */
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 0.5rem;
}

.calendar-nav-btn:hover {
    color: var(--color-primary);
    background-color: rgba(251, 113, 133, 0.1);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    padding: 0.5rem;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.2s;
    font-family: var(--font-display);
    font-weight: 500;
}

.calendar-day:not(.other-month):hover {
    background-color: rgba(251, 113, 133, 0.2);
    transform: scale(1.1);
}

.calendar-day.other-month {
    color: var(--color-gray-300);
    cursor: default;
}

.calendar-day.selected {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    transform: scale(1.1);
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    border: 2px solid transparent;
    background-color: var(--color-gray-50);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
}

.time-slot:hover {
    border-color: var(--color-rose-200);
    background-color: rgba(251, 113, 133, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(251, 113, 133, 0.2);
}

.time-slot.selected {
    border-color: var(--color-primary);
    background-color: var(--color-rose-50);
    color: var(--color-primary);
    box-shadow: 0 4px 6px rgba(251, 113, 133, 0.2);
}

/* Time Slot Skeleton Loader */
.time-slot-skeleton {
    height: 42px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
}

/* Hide skeleton when time slots are loaded */
.time-slots:has(.time-slot) .time-slot-skeleton {
    display: none;
}

/* Backdrop Selection */
.backdrop-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.backdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.backdrop-option {
    background: none;
    border: 3px solid transparent;
    border-radius: 1rem;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.backdrop-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(251, 113, 133, 0.25);
    border-color: var(--color-rose-200);
}

.backdrop-option.selected {
    border-color: var(--color-primary);
    box-shadow: 0 8px 16px rgba(251, 113, 133, 0.3);
    transform: translateY(-2px);
}

.backdrop-preview {
    width: 100%;
    height: 120px;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.backdrop-checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.backdrop-option.selected .backdrop-checkmark {
    opacity: 1;
    transform: scale(1);
}

.backdrop-checkmark svg {
    width: 16px;
    height: 16px;
}

.backdrop-label {
    display: block;
    padding: 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-700);
    text-align: center;
    background-color: white;
}

.backdrop-option.selected .backdrop-label {
    color: var(--color-primary);
}

/* Backdrop Skeleton Loader */
.backdrop-skeleton {
    display: block;
}

.backdrop-skeleton-card {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 1rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hide skeleton when backdrops are loaded */
.backdrop-grid:has(.backdrop-option) .backdrop-skeleton {
    display: none;
}

/* Attendee Section */
.attendee-section {
    background-color: var(--color-rose-50);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-rose-100);
}

.attendee-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.attendee-counter-wrapper {
    display: flex;
    flex-direction: row-reverse; /* Warning appears to the left */
    align-items: center;
    gap: 1rem;
}

.attendee-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-rose-100);
}

.counter-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
    color: var(--color-gray-700);
}

.counter-btn:hover {
    background-color: var(--color-rose-100);
    transform: scale(1.1);
}

.counter-btn:last-child {
    color: var(--color-primary);
}

.counter-display {
    font-size: 1.5rem;
    font-weight: 800;
    width: 2rem;
    text-align: center;
}

/* Max People Warning */
.max-people-warning {
    background-color: rgba(255, 228, 230, 0.7);
    border: 2px solid var(--color-rose-200);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    text-align: left;
    max-width: 300px;
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.max-people-text {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-rose-500);
    margin: 0 0 0.25rem 0;
}

.max-people-subtext {
    font-size: 0.75rem;
    color: var(--color-gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Side by Side Container */
.attendee-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .attendee-content-wrapper {
        grid-template-columns: 1fr 400px; /* Wider for heart container */
        align-items: stretch;
    }
}

/* Attendees List */
.attendees-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.attendee-card {
    background-color: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-rose-100);
    position: relative;
    transition: all 0.2s, max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    overflow: hidden;
    animation: cardSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px) scale(0.95);
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    50% {
        opacity: 1;
        max-height: 500px;
    }
    100% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0) scale(1);
        margin-bottom: 1.5rem;
    }
}

.attendee-card.removing {
    animation: cardSlideOut 0.3s ease forwards;
    pointer-events: none;
}

@keyframes cardSlideOut {
    0% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0) scale(1);
        margin-bottom: 1.5rem;
    }
    50% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px) scale(0.95);
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.attendee-card:hover {
    box-shadow: 0 4px 6px -1px rgba(251, 113, 133, 0.2);
    transform: translateY(-2px);
}

.attendee-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attendee-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.attendee-input-group {
    flex: 1;
}

.attendee-input {
    width: 100%;
    background-color: var(--color-gray-50);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: var(--font-display);
}

.attendee-input:hover {
    border-color: var(--color-rose-200);
}

.attendee-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

/* Age Dropdown */
.age-dropdown-wrapper {
    position: relative;
    min-width: 120px;
}

.age-dropdown {
    width: 100%;
    background-color: var(--color-gray-50);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    font-family: var(--font-display);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fb7185' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

/* When placeholder is selected, show grey text with normal weight */
.age-dropdown:has(option[value=""]:checked),
.age-dropdown[value=""] {
    color: var(--color-gray-400);
    font-weight: 400;
}

.age-dropdown:hover {
    border-color: var(--color-rose-200);
    background-color: white;
}

.age-dropdown:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

.age-dropdown option {
    color: var(--color-gray-900);
    font-weight: 600;
}

.age-dropdown option[value=""] {
    color: var(--color-gray-400);
    font-weight: 400;
}

/* Relationship Dropdown */
.relationship-dropdown-wrapper {
    width: 100%;
}

.relationship-dropdown {
    width: 100%;
    background-color: var(--color-gray-50);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s;
    font-family: var(--font-display);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fb7185' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.relationship-dropdown:hover {
    border-color: var(--color-rose-200);
    background-color: white;
    transform: translateY(-1px);
}

.relationship-dropdown:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

/* Relationship dropdown color coding */
.relationship-dropdown[data-type="self"] {
    background-color: var(--color-primary);
    color: white;
}

.relationship-dropdown[data-type="partner"],
.relationship-dropdown[data-type="spouse"],
.relationship-dropdown[data-type="fiancé"],
.relationship-dropdown[data-type="girlfriend"],
.relationship-dropdown[data-type="boyfriend"] {
    background-color: var(--color-rose-500);
    color: white;
}

.relationship-dropdown[data-type="child"],
.relationship-dropdown[data-type="son"],
.relationship-dropdown[data-type="daughter"],
.relationship-dropdown[data-type="grandchild"] {
    background-color: #3b82f6;
    color: white;
}

.relationship-dropdown[data-type="parent"],
.relationship-dropdown[data-type="mother"],
.relationship-dropdown[data-type="father"] {
    background-color: #8b5cf6;
    color: white;
}

.relationship-dropdown[data-type="sibling"],
.relationship-dropdown[data-type="brother"],
.relationship-dropdown[data-type="sister"] {
    background-color: #10b981;
    color: white;
}

.relationship-dropdown[data-type="grandparent"],
.relationship-dropdown[data-type="grandmother"],
.relationship-dropdown[data-type="grandfather"] {
    background-color: #f59e0b;
    color: white;
}

.relationship-dropdown[data-type="pet"],
.relationship-dropdown[data-type="dog"],
.relationship-dropdown[data-type="cat"] {
    background-color: #f97316;
    color: white;
}

.relationship-dropdown[data-type="friend"],
.relationship-dropdown[data-type="bestfriend"] {
    background-color: #a855f7;
    color: white;
}

.relationship-dropdown[data-type="cousin"],
.relationship-dropdown[data-type="niece"],
.relationship-dropdown[data-type="nephew"],
.relationship-dropdown[data-type="aunt"],
.relationship-dropdown[data-type="uncle"] {
    background-color: #ec4899;
    color: white;
}

/* Delete Button */
.delete-attendee-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s;
    z-index: 10;
}

.delete-attendee-btn:hover {
    background-color: #dc2626;
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* ========================================
   ATTENDEE PREVIEW SECTION (Right Side)
   ======================================== */

.attendee-preview {
    background-color: var(--color-rose-50);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 2px solid var(--color-rose-100);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.attendee-preview-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
}

/* Heart Container */
.heart-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Heart Shape */
.heart-shape {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary);
    transform: rotate(-45deg);
    z-index: 1;
}

.heart-shape::before,
.heart-shape::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.heart-shape::before {
    top: -100px;
    left: 0;
}

.heart-shape::after {
    left: 100px;
    top: 0;
}

/* Attendee Icons Container - separate overlay on top of heart */
.heart-attendees {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 10;
    pointer-events: none;
}

.heart-attendees > * {
    pointer-events: auto;
}

/* Individual Attendee Icon */
.heart-attendee {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    z-index: 10;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                transform 0.3s ease;
    will-change: left, top;
}

.heart-attendee.entering {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.heart-attendee.exiting {
    animation: popOut 0.3s ease forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes popOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

.heart-attendee-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.heart-attendee-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.heart-attendee:hover .heart-attendee-icon {
    transform: scale(1.15);
}

.heart-attendee-name {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    color: var(--color-primary);
    box-shadow: 0 2px 4px rgba(251, 113, 133, 0.2);
    border: 1px solid rgba(251, 113, 133, 0.3);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.heart-attendee-name-first {
    display: block;
}

.heart-attendee-name-last {
    display: none;
    font-size: 0.6rem;
    margin-top: 0.1rem;
}

.heart-attendee:hover .heart-attendee-name {
    max-width: 90px;
    white-space: normal;
    padding: 0.35rem 0.6rem;
}

.heart-attendee:hover .heart-attendee-name-last {
    display: block;
}

.heart-attendee-extra {
    display: none;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--color-rose-500);
    margin-top: 0.15rem;
}

.heart-attendee:hover .heart-attendee-extra {
    display: block;
}

/* Date/Time in Preview */
.attendee-preview-datetime {
    text-align: center;
}

.attendee-preview-date {
    font-size: 0.875rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    color: var(--color-gray-700);
    margin: 0 0 0.25rem 0;
}

.attendee-preview-time {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin: 0;
}

/* Price Summary */
.price-summary {
    background-color: white;
    border: 2px solid var(--color-rose-100);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(251, 113, 133, 0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.price-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-600);
}

.price-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray-800);
}

.coupon-row {
    border-top: 1px solid var(--color-rose-100);
}

.coupon-value {
    color: var(--color-primary);
}

.price-divider {
    height: 2px;
    background-color: var(--color-rose-200);
    margin: 0.5rem 0;
}

.total-row {
    padding-top: 1rem;
}

.total-label {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-800);
}

.total-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 0.1em;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(251, 113, 133, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
    font-family: var(--font-display);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.submit-btn:hover {
    background-color: var(--color-rose-500);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px -5px rgba(251, 113, 133, 0.4);
}

.submit-btn:active {
    transform: translateY(-2px);
}

.submit-btn-text {
    position: relative;
    z-index: 1;
}

.submit-btn-heart {
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(-45deg);
    position: relative;
    opacity: 0;
    transition: opacity 0.3s;
}

.submit-btn-heart:after {
    background-color: white;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    left: 15px;
}

.submit-btn-heart:before {
    background-color: white;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 30px;
    height: 30px;
    top: -15px;
    left: 0;
}

/* Loading state */
.submit-btn.loading {
    animation: btnPulse 1s infinite;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn.loading .submit-btn-heart {
    opacity: 1;
    animation: heartBeat 1s infinite;
}

/* Submitted state - green success state */
.submit-btn.submitted {
    background-color: #10b981;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.9;
}

.submit-btn.submitted:hover {
    background-color: #10b981;
    transform: translateY(0);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

@keyframes btnPulse {
    0%, 100% {
        background-color: var(--color-primary);
    }
    50% {
        background-color: #ffe6f2;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1) rotate(-45deg);
    }
    50% {
        transform: scale(0.6) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

/* Security Notice - Centered with matching colors */
.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    background-color: transparent;
    text-align: center;
}

.security-lock {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-lock svg {
    width: 100%;
    height: 100%;
    fill: var(--color-gray-500);
}

.security-text {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.4;
}

/* Info Box - Hidden */
.info-box {
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out;
    border: 3px solid var(--color-rose-200);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    color: var(--color-primary);
    margin: 0;
}

.modal-text {
    font-size: 1rem;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-display);
}

.modal-btn-cancel {
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
}

.modal-btn-cancel:hover {
    background-color: var(--color-gray-200);
    transform: translateY(-2px);
}

.modal-btn-confirm {
    background-color: var(--color-primary);
    color: white;
}

.modal-btn-confirm:hover {
    background-color: var(--color-rose-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(251, 113, 133, 0.3);
}

/* Dark Mode Disabled - Keep form white always */
/* Removed dark mode support to ensure consistent white background */

/* WordPress Compatibility Fixes */
#valentine-booking-wrapper input,
#valentine-booking-wrapper button,
#valentine-booking-wrapper select,
#valentine-booking-wrapper textarea {
    font-family: var(--font-display);
}

#valentine-booking-wrapper button:focus,
#valentine-booking-wrapper input:focus,
#valentine-booking-wrapper select:focus {
    outline-offset: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .valentine-main {
        padding: 1.5rem 1rem;
        overflow-x: hidden;
    }

    .booking-card {
        padding: 1.5rem;
        overflow-x: hidden;
    }

    .booking-section {
        overflow-x: hidden;
    }

    .attendee-content-wrapper {
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .attendee-header {
        flex-direction: column;
        align-items: stretch;
    }

    .attendee-counter-wrapper {
        align-items: stretch;
    }

    .max-people-warning {
        text-align: left;
        max-width: 100%;
    }

    /* Add spacing above heart container on mobile */
    .attendee-preview-title {
        margin-bottom: 1.5rem;
    }

    /* Ensure attendee preview section is properly contained */
    .attendee-preview {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .heart-container {
        margin-top: 1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        min-height: 280px;
    }

    /* Scale down heart to fit in preview on mobile */
    .heart-shape {
        width: 220px;
        height: 220px;
        transform: rotate(-45deg);
    }

    .heart-shape::before,
    .heart-shape::after {
        width: 220px;
        height: 220px;
    }

    .heart-shape::before {
        top: -110px;
    }

    .heart-shape::after {
        left: 110px;
    }

    .heart-attendees {
        width: 180px;
        height: 180px;
    }

    .heart-attendee-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .heart-attendee-name {
        font-size: 0.55rem;
        max-width: 55px;
    }

    /* Fix blue color for selected calendar dates on mobile */
    .calendar-day.selected {
        background-color: var(--color-primary) !important;
        color: white !important;
    }

    /* Fix blue color for selected age dropdown on mobile */
    .age-dropdown {
        color: var(--color-gray-900) !important;
    }

    .age-dropdown[value=""] {
        color: var(--color-gray-400) !important;
    }

    /* Ensure submit button text fits on one line */
    .submit-btn {
        font-size: 1rem;
        padding: 1rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .submit-btn-text {
        font-size: 1rem;
    }
}

/* ========================================
   SUCCESS CARD POPUP
   ======================================== */

.success-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.success-card-overlay.show {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    pointer-events: all;
}

.success-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-card-overlay.show .success-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.success-card-heart {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fce7f3 0%, #ffe4e6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartPulse 1.5s ease infinite;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.success-card-heart svg {
    width: 50px;
    height: 50px;
}

.success-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin: 0 0 0.75rem 0;
    font-family: var(--font-display);
}

.success-card-message {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.success-card-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
}

.success-card-btn:hover {
    background-color: var(--color-rose-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 113, 133, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .success-card {
        max-width: 90%;
        padding: 2.5rem 2rem;
    }

    .success-card-title {
        font-size: 1.5rem;
    }

    .success-card-message {
        font-size: 1rem;
    }
}