/* CSS Document */



div#bb-booking-form {

    max-width: 350px;

    text-align: center;

    position: relative;

}



div#event_datepicker {

    margin-bottom: 15px;

    margin-left: auto;

    margin-right: auto;

    width: 256px;

}



/* Visually hidden class for accessibility */

.visually-hidden {

    position: absolute;

    width: 1px;

    height: 1px;

    margin: -1px;

    padding: 0;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    border: 0;

}



/* Style inputs and textareas */

#bb-booking-form input[type="text"],

#bb-booking-form input[type="email"],

#bb-booking-form textarea {

    width: 100%; /* Adjust width as necessary */

    padding: 8px; /* Adjust padding as necessary */

    border: 1px solid #ccc; /* Subtle border */

    border-radius: 4px; /* Rounded borders */

    background-color: #fff; /* White background */

    color: #333; /* Dark text for high contrast */

    font-size: 16px; /* Sufficient size for readability */

	margin-bottom: 15px;

}



#bb-booking-form input[type="text"]:focus,

#bb-booking-form input[type="email"]:focus,

#bb-booking-form textarea:focus {

    outline: none;

    border-color: #555; /* Darker border on focus for visibility */

    background-color: #f9f9f9; /* Slightly different background on focus */

}



#bb-booking-form select {

    width: 100%; /* Adjust width as necessary */

    padding: 8px; /* Adjust padding as necessary */

    border-radius: 4px; /* Rounded borders */

    border: 1px solid #ccc;

    background-color: #fff;

    color: #333;

	margin-bottom: 15px;

}





/* Basic CSS for Multi-Step Form */

#bb-booking-form section {

    display: none;

}



#bb-booking-form section.active {

    display: block;

}



#bb-booking-form > form > div {

    display: none;

}



#bb-booking-form > form > div:first-child {

    display: block;

}



#section-one, #section-two, #section-three, #section-four {

	min-height:335px;

}



/* Form wrapper */



.gb-container-wrapper {

    max-width: 350px;

    margin-right: auto;

    margin-left: auto;

    border-radius: 16px;

    background-color: #ffffff;

    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.1);

	margin-bottom: 30px;

    position: relative; /* For absolute positioning of loading animation */

    overflow: hidden; /* Contain the loading animation within rounded corners */

    min-height: 536px; /* Ensure container has proper height for loading animation */

}



.gb-container-header {

    padding: 10px;

    border-top-left-radius: 16px;

    border-top-right-radius: 16px;

    background-color: #222222;

}

div.gb-headline-header01 {

    font-size: 24px;

    font-weight: 600;

    text-align: center;

    color: #ffffff;

}

.gb-container-body {

    padding: 10px;

}



div.gb-headline-sectionheader {

    font-weight: 600;

    margin-top: 20px;

    margin-bottom: 20px;

}





/* Steps wrapper */

.gb-grid-wrapper {

    display: flex;

    flex-wrap: wrap;

}

.gb-grid-wrapper-stepswrapper {

    margin-left: auto;

    width: 300px;

    margin-right: auto;

	margin-top: 10px;

}

.gb-grid-column-pb {

    box-sizing: border-box;

}

.gb-grid-wrapper-stepswrapper > .gb-grid-column {

    padding-left: 20px;

}

.gb-grid-wrapper > .gb-grid-column-step1 {

    width: 25%;

}

.gb-grid-wrapper > .gb-grid-column-step2 {

    width: 25%;

}

.gb-grid-wrapper > .gb-grid-column-step3 {

    width: 25%;

}

.gb-grid-wrapper > .gb-grid-column-step4 {

    width: 25%;

}



.steps-icon-back {

	display: flex;

    align-items: center;

    justify-content: center;

    column-gap: 0.5em;

    width: 36px;

    height: 36px;

    padding: 8px;

    margin-right: auto;

    margin-left: auto;

    border-radius: 50%;

    background-color: #120b3e;

}



.gb-grid-column-pb.active .steps-icon-back {

    display: flex;

    align-items: center;

    justify-content: center;

    column-gap: 0.5em;

    width: 36px;

    height: 36px;

    padding: 8px;

    margin-right: auto;

    margin-left: auto;

    border-radius: 50%;

    background-color: #be5484;

	animation: pulse 1.5s infinite;

}



/* Define the pulse keyframes */

@keyframes pulse {

    0% {

        transform: scale(1);

        box-shadow: 0 0 0 0 rgba(190, 84, 132, 0.7);

    }

    70% {

        transform: scale(1.1);

        box-shadow: 0 0 0 12px rgba(190, 84, 132, 0);

    }

    100% {

        transform: scale(1);

        box-shadow: 0 0 0 0 rgba(190, 84, 132, 0);

    }

}



div.steps-icon-back .gb-icon {

    line-height: 0;

    color: #ffffff;

}

div.steps-icon-back .gb-icon svg {

    width: 20px;

    height: 20px;

}

.gb-icon svg {

    fill: currentColor;

}





/* Loading annimation */



.loading-animation {

    position: absolute;

    background: rgba(255, 255, 255, 0.95);

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    z-index: 9999;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    width: 100%;

    min-height: 536px;

    border-radius: 16px;

    overflow: hidden; /* Ensure content stays within the rounded corners */

}



.loading-animation::before {

    content: "";

    position: absolute;

    top: 50%;

    left: 50%;

    width: 200%;

    height: 200%;

    background: radial-gradient(circle, rgba(190, 84, 132, 1) 0%, rgba(190, 84, 132, 1) 50%, transparent 50%);

    border-radius: 50%;

    transform: translate(-50%, -50%) scale(0);

    animation: fillCenterOut 3s forwards;

    z-index: 0; /* Ensure it's below the spinner */

}



@keyframes fillCenterOut {

    0% {

        transform: translate(-50%, -50%) scale(0);

    }

    100% {

        transform: translate(-50%, -50%) scale(1);

    }

}



.spinner {

    border: 8px solid rgba(0, 0, 0, 0.1);

    border-left-color: #ffffff;

    border-radius: 50%;

    width: 48px;

    height: 48px;

    animation: spin 1s linear infinite;

    z-index: 1;

    position: relative;

    top: 70px;

}



@keyframes spin {

    0% {

        transform: rotate(0deg);

    }

    100% {

        transform: rotate(360deg);

    }

}



.loading-text {

    margin-top: 80px;

    font-size: 16px;

    font-weight: 600;

    color: #ffffff;

    z-index: 1; /* Ensure text stays above the liquid */

}



.svg-container {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none; /* Ensure the icons don't interfere with any interaction */

}



.svg-icon {

    position: absolute;

    top: -50px; /* Start above the container */

    width: 30px;

    height: 30px;

    opacity: 0;

    animation: fall linear forwards;

	fill:#ffffff;

}



@keyframes fall {

    0% {

        transform: translateY(0) rotate(0deg);

        opacity: 1;

    }

    100% {

        transform: translateY(100vh) rotate(360deg);

        opacity: 0;

    }

}







/* CSS for the form navigation buttons */

.form-navigation {

    background-color: #007bff; /* Blue */

    color: white;

    border: none;

    padding: 10px 20px;

    margin: 5px;

    cursor: pointer;

    font-size: 16px;

}



.form-navigation.back {

	padding: 0.8rem 1.4rem;

    border-radius: 2em;

    background-color: #120b3e;

    color: #ffffff;

    background: linear-gradient(to left, #120b3e 50%, #be5484 50%);

    background-size: 200% 100%;

    background-position: right bottom;

    transition: all 0.5s ease;

    flex-wrap: nowrap;

    align-items: center;

    line-height: 16px;

    text-transform: uppercase;

	font-size: 12px;

}

.form-navigation.back:hover {

    background-color: #be5484;

    color: #ffffff;

    background-position: left bottom;

}



.form-navigation.next {

    padding: 0.8rem 1.4rem;

    border-radius: 2em;

    background-color: #be5484;

    color: #ffffff;

    background: linear-gradient(to left, #be5484 50%, #120b3e 50%);

    background-size: 200% 100%;

    background-position: right bottom;

    transition: all 0.5s ease;

    flex-wrap: nowrap;

    align-items: center;

    line-height: 16px;

    text-transform: uppercase;

	font-size: 12px;

}

.form-navigation.next:hover {

    background-color: #120b3e;

    color: #ffffff;

    background-position: left bottom;

}



/* Additional styling for when a button is of type 'submit' */

.form-navigation[type="submit"] {

    padding: 0.8rem 1.4rem;

    border-radius: 2em;

    background-color: #8c2871;

    color: #ffffff;

    background: linear-gradient(to left, #8c2871 50%, #120b3e 50%);

    background-size: 200% 100%;

    background-position: right bottom;

    transition: all 0.5s ease;

    flex-wrap: nowrap;

    align-items: center;

    line-height: 16px;

    text-transform: uppercase;

	font-size: 12px;

}



/* Validation */



.invalid {

    border-color: #dc3545; /* Red */

    background-color: #f8d7da; /* Light red */

}



.invalid:focus {

    border-color: #f5c2c7;

    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);

}



.error-message {

    color: #dc3545; /* Red */

    margin-top: 5px;

    font-size: 0.9rem;

}



/* Event ID Checkbox */



/* Styles for the Event Type checkboxes and their labels */

.form-type-checkboxes label img {

    width: 100px; /* Adjust based on your preference */

    height: 100px; /* Adjust based on your preference */

    display: block;

    margin: 0 auto; /* Center the image */

}



.form-type-checkbox {

    margin-bottom: 20px;

    text-align: center; /* Center the label text */

}



.form-type-checkbox label {

    display: block;

    cursor: pointer;

}



.form-type-checkbox label span {

    display: block; /* Ensure the text appears below the image */

    margin-top: 5px; /* Space between image and text */

}





/* Checkbox style */

.form-checkboxes {

    display: flex;

}





.form-item {

    display: inline-block;

    position: relative;

    height: 150px;

    margin: 6px;

    padding: 0px;

    overflow: hidden;

    border-radius: 5px;

}



.form-checkboxes .form-item input {

    position: absolute;

    top: 3px;

    left: 2px;

}



.form-checkboxes .form-item label {

    line-height: 22px;

    padding: 0 0 5px 0;

    display: block;

    font-weight: 600;

    width: 100%;

    height: 100%;

    cursor: pointer;

}



.form-checkboxes .form-item label img {

    width: 100%;

    height: 100%;

    cursor: pointer;

}



.form-checkboxes .form-item label span {

    position: absolute;

    left: 0px;

    bottom: 0px;

    text-align: center;

    width: 100%;

    background: rgb(0 0 0 / 41%);

    padding: 5px 0;

    color: #fff;

	line-height: 22px;

    bottom: 23px;

}



