/**
 * BeautyBooking Frontend Styles
 */

:root {
    --bb-primary: #ec4899;
    --bb-primary-dark: #db2777;
    --bb-secondary: #6366f1;
    --bb-success: #10b981;
    --bb-warning: #f59e0b;
    --bb-danger: #ef4444;
    --bb-gray-50: #f9fafb;
    --bb-gray-100: #f3f4f6;
    --bb-gray-200: #e5e7eb;
    --bb-gray-300: #d1d5db;
    --bb-gray-400: #9ca3af;
    --bb-gray-500: #6b7280;
    --bb-gray-600: #4b5563;
    --bb-gray-700: #374151;
    --bb-gray-800: #1f2937;
    --bb-radius: 12px;
    --bb-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Wizard Container */
.jezt-bb-wizard {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Progress Bar */
.jezt-bb-progress {
    margin-bottom: 40px;
}

.jezt-bb-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.jezt-bb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.jezt-bb-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bb-gray-200);
    color: var(--bb-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.jezt-bb-step .step-label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--bb-gray-500);
    text-align: center;
}

.jezt-bb-step.active .step-number {
    background: var(--bb-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.2);
}

.jezt-bb-step.active .step-label {
    color: var(--bb-primary);
    font-weight: 600;
}

.jezt-bb-step.completed .step-number {
    background: var(--bb-success);
    color: white;
}

.jezt-bb-progress-bar {
    height: 4px;
    background: var(--bb-gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.jezt-bb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bb-primary), var(--bb-secondary));
    transition: width 0.5s ease;
}

/* Step Content - Smooth Slide Transitions */
.jezt-bb-step-content {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jezt-bb-step-content.active {
    display: block;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.jezt-bb-step-content.slide-out-left {
    animation: slideOutLeft 0.3s ease forwards;
}

.jezt-bb-step-content.slide-out-right {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInReverse {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Hardware acceleration for smoother animations */
.jezt-bb-wizard {
    -webkit-perspective: 1000;
    perspective: 1000;
}

.jezt-bb-step-content,
.jezt-bb-service-card,
.jezt-bb-staff-member,
.jezt-bb-timeslot {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.jezt-bb-step-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bb-gray-800);
    margin: 0 0 8px;
}

.jezt-bb-step-subtitle {
    color: var(--bb-gray-500);
    margin: 0 0 30px;
}

/* Services */
.jezt-bb-category {
    margin-bottom: 20px;
    border: 1px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    overflow: hidden;
}

.jezt-bb-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bb-gray-50);
    cursor: pointer;
    transition: background 0.2s ease;
}

.jezt-bb-category-header:hover {
    background: var(--bb-gray-100);
}

.jezt-bb-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bb-gray-700);
    margin: 0;
}

.jezt-bb-category-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bb-gray-500);
    transition: transform 0.3s ease;
}

.jezt-bb-category.expanded .jezt-bb-category-toggle {
    transform: rotate(180deg);
}

.jezt-bb-category-services {
    display: none;
    padding: 15px;
    background: white;
    gap: 12px;
}

.jezt-bb-category.expanded .jezt-bb-category-services {
    display: grid;
}

.jezt-bb-service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: white;
    border: 2px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.jezt-bb-service-card:hover {
    border-color: var(--bb-primary);
    box-shadow: var(--bb-shadow);
}

.jezt-bb-service-card.selected {
    border-color: var(--bb-primary);
    background: rgba(236, 72, 153, 0.05);
}

.jezt-bb-service-card .service-color {
    width: 5px;
    height: 50px;
    border-radius: 3px;
    flex-shrink: 0;
}

.jezt-bb-service-card .service-info {
    flex: 1;
    min-width: 0;
}

/* Sale Ribbon */
.jezt-bb-sale-ribbon {
    position: absolute;
    top: 8px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 1;
}

.jezt-bb-sale-ribbon.ribbon-left {
    left: 8px;
}

.jezt-bb-sale-ribbon.ribbon-right {
    right: 50px;
}

.jezt-bb-service-card .service-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bb-gray-800);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.jezt-bb-service-card .service-name {
    display: inline;
}

/* Inline discount badge next to service name */
.discount-badge-inline {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.jezt-bb-service-card .service-desc {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--bb-gray-500);
}

.jezt-bb-service-card .service-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.jezt-bb-service-card .duration {
    color: var(--bb-gray-500);
}

.jezt-bb-service-card .price {
    font-weight: 600;
    color: var(--bb-primary);
}

.jezt-bb-service-card .service-select {
    flex-shrink: 0;
}

.jezt-bb-service-card .service-select button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bb-primary);
    background: white;
    font-size: 20px;
    font-weight: 700;
    color: var(--bb-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.jezt-bb-service-card .service-select button:hover {
    background: var(--bb-primary);
    color: white;
}

.jezt-bb-service-card.selected .service-select button {
    background: var(--bb-primary);
    border-color: var(--bb-primary);
    color: white;
}

/* Selected Summary */
.jezt-bb-selected-summary {
    margin-top: 30px;
    padding: 25px;
    background: var(--bb-gray-50);
    border-radius: var(--bb-radius);
    border: 1px solid var(--bb-gray-200);
}

.jezt-bb-selected-summary h3 {
    margin: 0 0 15px;
    font-size: 16px;
}

.selected-service-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bb-gray-200);
}

.jezt-bb-summary-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--bb-gray-300);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--bb-primary);
}

/* Sale/Discount Styles */
.selected-service-item del {
    color: var(--bb-gray-400);
    text-decoration: line-through;
    font-size: 0.9em;
}

.selected-service-item .sale-price {
    color: var(--bb-success);
}

.selected-service-item .discount-badge {
    display: inline-block;
    padding: 2px 6px;
    background: var(--bb-danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.confirm-service del {
    color: var(--bb-gray-400);
    text-decoration: line-through;
    font-size: 0.9em;
    margin-right: 5px;
}

/* Staff */
.jezt-bb-staff-list {
    display: grid;
    gap: 15px;
}

.jezt-bb-staff-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 2px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.jezt-bb-staff-card:hover {
    border-color: var(--bb-primary);
}

.jezt-bb-staff-card.selected {
    border-color: var(--bb-primary);
    background: rgba(236, 72, 153, 0.05);
}

.jezt-bb-staff-card .staff-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--bb-gray-200);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bb-gray-100);
}

.jezt-bb-staff-card .staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jezt-bb-staff-card .staff-avatar .dashicons {
    font-size: 30px;
    color: var(--bb-gray-400);
}

.jezt-bb-staff-card .staff-info {
    flex: 1;
}

.jezt-bb-staff-card .staff-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
}

.jezt-bb-staff-card .staff-info p {
    margin: 0;
    font-size: 13px;
    color: var(--bb-gray-500);
}

.jezt-bb-staff-card .staff-check {
    display: none;
}

.jezt-bb-staff-card.selected .staff-check {
    display: block;
    color: var(--bb-primary);
    font-size: 24px;
}

/* Calendar */
.jezt-bb-datetime-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .jezt-bb-datetime-picker {
        grid-template-columns: 1fr;
    }
}

.jezt-bb-calendar-container {
    background: white;
    border: 1px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    padding: 20px;
}

.jezt-bb-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
}

.jezt-bb-calendar-nav {
    width: 36px;
    height: 36px;
    border: 1px solid var(--bb-gray-200);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.jezt-bb-calendar-nav:hover {
    background: var(--bb-gray-100);
}

.jezt-bb-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--bb-gray-500);
}

.jezt-bb-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: var(--bb-primary);
    color: white;
}

.calendar-day.selected {
    background: var(--bb-primary);
    color: white;
    font-weight: 600;
}

.calendar-day.disabled {
    color: var(--bb-gray-300);
    cursor: not-allowed;
}

.calendar-day.empty {
    cursor: default;
}

/* Today highlight - uses primary color */
.calendar-day.today {
    background: var(--bb-primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
}

.calendar-day.today:hover:not(.disabled) {
    background: var(--bb-primary-dark);
}

/* Closed days - red color */
.calendar-day.closed {
    background: var(--bb-danger);
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.calendar-day.closed:hover {
    background: var(--bb-danger);
    color: white;
}

/* Time Slots */
.jezt-bb-timeslots-container {
    background: white;
    border: 1px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    padding: 20px;
}

.jezt-bb-timeslots-container h3 {
    margin: 0 0 20px;
    font-size: 16px;
}

.jezt-bb-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .jezt-bb-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jezt-bb-timeslot {
    padding: 12px;
    text-align: center;
    border: 2px solid var(--bb-gray-200);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.jezt-bb-timeslot:hover {
    border-color: var(--bb-primary);
}

.jezt-bb-timeslot.selected {
    background: var(--bb-primary);
    border-color: var(--bb-primary);
    color: white;
}

.jezt-bb-timeslot.disabled {
    background: var(--bb-gray-100);
    color: var(--bb-gray-400);
    cursor: not-allowed;
}

.jezt-bb-no-slots {
    text-align: center;
    padding: 40px;
    color: var(--bb-gray-500);
}

/* Slot taken notice for real-time updates */
.jezt-bb-slot-taken-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.jezt-bb-hint {
    text-align: center;
    color: var(--bb-gray-400);
    padding: 40px;
}

/* Customer Form */
.jezt-bb-customer-form {
    max-width: 600px;
}

.jezt-bb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .jezt-bb-form-row {
        grid-template-columns: 1fr;
    }
}

.jezt-bb-form-field {
    margin-bottom: 20px;
}

.jezt-bb-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--bb-gray-700);
}

.jezt-bb-form-field input,
.jezt-bb-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bb-gray-200);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.jezt-bb-form-field input:focus,
.jezt-bb-form-field textarea:focus {
    outline: none;
    border-color: var(--bb-primary);
}

.jezt-bb-gdpr {
    margin-top: 30px;
}

.jezt-bb-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.jezt-bb-checkbox input {
    width: auto;
    margin-top: 4px;
}

/* Confirmation */
.jezt-bb-confirmation-box {
    background: white;
    border: 1px solid var(--bb-gray-200);
    border-radius: var(--bb-radius);
    overflow: hidden;
}

.jezt-bb-confirmation-section {
    padding: 20px 25px;
    border-bottom: 1px solid var(--bb-gray-200);
}

.jezt-bb-confirmation-section:last-child {
    border-bottom: none;
}

.jezt-bb-confirmation-section h3 {
    margin: 0 0 15px;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--bb-gray-500);
    letter-spacing: 0.5px;
}

.confirmation-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.confirmation-detail .dashicons {
    color: var(--bb-primary);
}

.confirm-service {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.jezt-bb-payment-section {
    background: var(--bb-gray-50);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--bb-gray-700);
}

.payment-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--bb-gray-300);
}

.payment-total strong {
    color: var(--bb-primary);
}

/* Navigation */
.jezt-bb-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--bb-gray-200);
}

.jezt-bb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jezt-bb-btn-primary {
    background: linear-gradient(135deg, var(--bb-primary), var(--bb-primary-dark));
    color: white;
}

.jezt-bb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--bb-shadow-lg);
}

.jezt-bb-btn-secondary {
    background: var(--bb-gray-100);
    color: var(--bb-gray-700);
}

.jezt-bb-btn-secondary:hover {
    background: var(--bb-gray-200);
}

/* Success */
.jezt-bb-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--bb-success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon .dashicons {
    font-size: 50px;
    color: white;
}

.jezt-bb-success h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-details {
    margin-top: 30px;
    padding: 20px;
    background: var(--bb-gray-50);
    border-radius: 8px;
    display: inline-block;
}

/* Error */
.jezt-bb-error {
    padding: 15px 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    margin-top: 20px;
}

/* Loading */
.jezt-bb-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px;
    color: var(--bb-gray-500);
}

.jezt-bb-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bb-gray-200);
    border-top-color: var(--bb-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.jezt-bb-spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .jezt-bb-wizard {
        padding: 15px;
    }

    .jezt-bb-step .step-label {
        display: none;
    }

    .jezt-bb-step-title {
        font-size: 22px;
    }

    .jezt-bb-service-card {
        padding: 15px;
    }

    .jezt-bb-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Success Page */
.jezt-bb-success {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: var(--bb-radius);
    position: relative;
    overflow: hidden;
}

.jezt-bb-success h2 {
    font-size: 28px;
    color: var(--bb-gray-800);
    margin-bottom: 10px;
}

.jezt-bb-success p {
    color: var(--bb-gray-600);
    font-size: 16px;
}

.jezt-bb-success .success-hint {
    margin-top: 30px;
    font-size: 14px;
    color: var(--bb-gray-500);
}

/* Animated Checkmark */
.success-icon {
    margin-bottom: 30px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: white;
    margin: 0 auto;
    background: var(--bb-success);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: scale-in 0.5s ease-out forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: rgba(255, 255, 255, 0.3);
    fill: var(--bb-success);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: white;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Booking Number Box */
.booking-number-box {
    display: inline-block;
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.booking-number-box span {
    display: block;
    font-size: 13px;
    color: var(--bb-gray-500);
    margin-bottom: 5px;
}

.booking-number-box strong {
    font-size: 24px;
    color: var(--bb-primary);
    letter-spacing: 2px;
}

/* Confetti */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confetti-fall 3s ease-out forwards;
}

.confetti:nth-child(1) {
    left: 10%;
    background: #ec4899;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 25%;
    background: #f59e0b;
    animation-delay: 0.2s;
    border-radius: 50%;
}

.confetti:nth-child(3) {
    left: 40%;
    background: #10b981;
    animation-delay: 0.4s;
}

.confetti:nth-child(4) {
    left: 55%;
    background: #3b82f6;
    animation-delay: 0.1s;
    border-radius: 50%;
}

.confetti:nth-child(5) {
    left: 70%;
    background: #8b5cf6;
    animation-delay: 0.3s;
}

.confetti:nth-child(6) {
    left: 85%;
    background: #ef4444;
    animation-delay: 0.5s;
    border-radius: 50%;
}

.confetti:nth-child(7) {
    left: 15%;
    background: #fbbf24;
    animation-delay: 0.15s;
}

.confetti:nth-child(8) {
    left: 60%;
    background: #06b6d4;
    animation-delay: 0.35s;
    border-radius: 50%;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        top: -10px;
        transform: rotate(0deg) translateX(0);
    }

    100% {
        opacity: 0;
        top: 100%;
        transform: rotate(720deg) translateX(50px);
    }
}