body {
    font-family: 'Inter', sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
}

#invitation-form {
    background: linear-gradient(135deg, #6f42c1, #4a90e2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 30px;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="url"],
input[type="tel"],
textarea {
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus {
    box-shadow: 0 0 0 2px #83a4d4;
    border-color: #83a4d4;
}

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    border: 2px solid #7aaaf8;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #6b7280;
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    border: 2px solid #7aaaf8;
}

.btn-secondary:hover {
    background-color: #374151;
}

.container h1 {
    font-size: 2rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #6f42c1
}

.container h2,
label {
    color: white;
}

/* Multi-step Form Indicators */
.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: #4299e1;
    /* Tailwind blue-500 */
}

/* --- Visual Theme Selector --- */
.theme-card {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;
    height: 150px;
    overflow: hidden;
}

.theme-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-card:hover {
    border-color: #9ca3af;
    /* gray-400 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
}

.theme-card.selected {
    /* border-color: #3b82f6; */
    /* border: 1px solid #85b4ff; */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background-color: #85b4ff;
}

/* --- Star Rating System --- */
.star-rating > i {
    cursor: pointer;
    color: #d2d6dc; /* gray-300 */
    transition: color 0.2s ease-in-out;
}

/* Color all stars up to the hovered one */
.star-rating:hover i {
    color: #f59e0b; /* amber-500 */
}

/* Keep stars to the right of the hovered one gray */
.star-rating i:hover ~ i {
    color: #d2d6dc;
}

/* Keep selected stars yellow */
.star-rating .selected {
    color: #f59e0b; /* amber-500 */
}

#theme-selector-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
    max-height: 50vh;
    overflow-y: auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    #theme-selector-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
