/* Existing styles from birthday-invite.css */
.birthday-invite-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-red-700 {
    color: #b91c1c;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.border-red-400 {
    border-color: #f87171;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-pink-500 {
    border-color: #ec4899;
}

.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-yellow-400 {
    background-color: #facc15;
}

.bg-yellow-300 {
    background-color: #fef08a;
}

.text-gray-900 {
    color: #111827;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.md\:grid-cols-2 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.transition-colors {
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.transition-transform {
    transition: transform 0.3s ease-in-out;
}

.transform {
    transform: translate(0, 0);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-yellow-300:hover {
    background-color: #fef08a;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.aspect-\[9\/16\] {
    aspect-ratio: 9 / 16;
}

.object-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.focus\:ring-pink-500:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 1);
}

.hidden {
    display: none;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.form-radio:checked {
    background-color: #ec4899;
    border-color: #ec4899;
}

.form-radio:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.5);
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.border-b-4 {
    border-bottom-width: 4px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.no-underline {
    text-decoration: none;
}

.disabled\:bg-gray-300:disabled {
    background-color: #d1d5db;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

.disabled\:scale-100:disabled {
    transform: scale(1);
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* New colors for brand consistency */
.bg-brand-yellow {
    background-color: #facc15;
}

.text-brand-pink {
    color: #ec4899;
}

.border-brand-pink {
    border-color: #ec4899;
}

.focus\:ring-brand-pink:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 1);
}

.bg-opacity-90:hover {
    background-opacity: 0.9;
}

.border-brand-yellow {
    border-color: #facc15;
}

/* Custom class for 56x56 pixel logo */
.w-14 {
    width: 3.5rem; /* 56px / 16px per rem = 3.5rem */
}

.h-14 {
    height: 3.5rem; /* 56px / 16px per rem = 3.5rem */
}

.bg-brand-pink {
    background-color: #ec4899; /* Tailwind pink-500 */
}

.text-white {
    color: #fff;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* birthday-invite.css */
#loading-indicator {
    position: fixed; /* Changed from absolute to fixed to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9); /* Increased opacity for better visibility */
    backdrop-filter: blur(8px); /* Added blur effect for the background */
    z-index: 9999; /* High z-index to ensure it overlays everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out; /* Smooth transition for hiding */
}

#loading-indicator.hidden {
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
}

/* birthday-invite.css */
.overflow-hidden {
    overflow: hidden; /* Prevents scrolling when the overlay is active */
}

.md\:flex {
    @media (min-width: 768px) {
        display: flex;
    }
}


/* Base style for the dropdown menu */
.user-dropdown-menu {
    min-width: 12rem;
}
