@import url('https://fonts.googleapis.com/css2?family=Avenir:wght@400;700&display=swap');

.wuf-container,
.wuf-subtitle,
.wuf-font-type-header,
.wuf-font-type-p,
.wuf-button-cta,
.wuf-left-section h1,
.wuf-left-section h2,
.wuf-left-section strong,
.wuf-right-section,
.wuf-right-section h4,
.wuf-form-container,
.wuf-form-container h2,
.wuf-form-group h2,
.wuf-form-group input,
.wuf-form-group select,
.wuf-form-group label,
.wuf-popup h2,
.wuf-popup p,
.wuf-submit-btn {
    font-family: 'Avenir', Arial, sans-serif; /* Fallback to Arial and sans-serif */
}

.wuf-font-type-header {
	font-size: 36px;
	font-weight: bold;
}

.wuf-button-cta {
	font-size: 20px !important;
	color: #ffff !important;
	background-color: #0d79dd !important;
	border-radius: 10px !important;
	padding: .3em 1em !important;
	border: 0px !important;
}

.wuf-button-cta:hover {
	background-color: #0b5cbf !important;
}

.wuf-font-type-p {
	font-size: 14px;
	color: #555555;
}

.wuf-form-step h2 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.5;
}

.wuf-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    padding: 0px;
    box-sizing: border-box;
}

.wuf-left-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.wuf-row-content {
    display: flex; /* Use flexbox to arrange items in a row */
    flex-direction: row; /* Align items in a row */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space items evenly */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
}

.wuf-left-section h1 {
    color: black; /* Highlighted color for important text */
    font-weight: bold; /* Bold font weight for emphasis */
	font-size: 22px;
	line-height: 1.2;
    margin: 0;
}

.wuf-left-section h2 {
    font-size: 24px; /* Font size for the subheading */
    font-weight: 700; /* Bold font weight */
    color: #333; /* Dark color for the subheading */
    margin-top: 15px; /* Space above the subheading */
    margin-bottom: 10px; /* Space below the subheading */
}

.wuf-left-section p {
    font-size: 16px; /* Font size for paragraphs */
    color: black; /* Slightly lighter color for text */
    line-height: 1.6; /* Improve line height for readability */
    margin-bottom: 10px; /* Space below each paragraph */
	font-weight: 300;
}

.wuf-left-section strong {
    color: black; /* Highlighted color for important text */
    font-weight: bold; /* Bold font weight for emphasis */
	font-size: 36px;
	line-height: 1.2;
	font-weight: 500;
}

.wuf-right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wuf-right-section h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.wuf-form-container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wuf-form-step {
    margin: 20px 0;
}

.wuf-form-group {
    margin-bottom: 20px;
    position: relative;
}

.wuf-form-group input {
    width: 100%;
    padding: 20px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s ease;
    height: 50px;
}

.wuf-form-group input.wuf-success {
    border-color: #52c41a; /* Green border for valid input */
}

.wuf-form-group input.wuf-error {
    border-color: red; /* Red border for invalid input */
}

.wuf-form-group input[type="text"] {
    padding: 10px;
}

.wuf-form-group input[type="text"]::placeholder {
	font-size: 12px !important;    
	text-align: right;
}

.wuf-form-group input[type="email"] {
    padding: 10px;
}

.wuf-form-group input[type="email"]::placeholder {
	font-size: 12px !important;    
	text-align: right;
}

.wuf-form-group select {
    width: 100%;
    padding: 20px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    height: 50px;
}

.wuf-form-group input:focus,
.wuf-form-group select:focus,
.wuf-form-group input[type="text"]:focus,
.wuf-form-group input[type="email"]:focus {
    border: 2px solid #1890ff; /* Blue border for focused input */
}

.wuf-form-group .wuf-error {
    border: 2px solid #ff4d4f;
}

.wuf-form-group .wuf-success {
    border: 2px solid #52c41a;
}

.wuf-form-group .wuf-error-message,
.wuf-form-group .wuf-success-message {
    display: none; /* Hide by default */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.wuf-form-group input:valid + .wuf-success-message {
    display: block; /* Show when input is valid */
}

.wuf-form-group label {
    position: absolute;
    display: block !important;
    top: 12px;
    left: 10px;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
    color: #000;
    transition: all 0.2s ease;
    z-index: 1;
}

.wuf-form-group select {
    padding: 10px;
}

.wuf-form-group input:focus + label,
.wuf-form-group input:not(:placeholder-shown) + label,
.wuf-form-group select:focus + label,
.wuf-form-group select:not(:placeholder-shown) + label {
    display: block !important;
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #000;
    z-index: 1;
}

.wuf-next-btn, .wuf-prev-btn, .wuf-submit-btn {
    width: 100%;
	margin-top: 15px;
    padding: 15px;
    background-color: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.wuf-submit-btn {
    font-weight: bold;
}


.wuf-next-btn:hover, .wuf-prev-btn:hover, .wuf-submit-btn:hover {
    background-color: #40a9ff;
}

.wuf-submit-btn:disabled,
.wuf-next-btn:disabled {
    background-color: #0056b3; /* Darker background color when disabled */
    color: #fff; /* Keep text color white */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
    opacity: 0.6; /* Slightly transparent to indicate disabled state */
}

.wuf-checkbox-group {
    display: flex;
    flex-direction: column;
	margin-top: 20px !important;
}

.wuf-checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.wuf-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
    position: relative;
}

.wuf-success-icon {
    display: none;
    width: 20px; /* Set the width of the icons */
    height: 20px; /* Set the height of the icons */
    position: absolute; /* Position the icons absolutely */
    right: 10px; /* Align to the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
}


.wuf-checkbox-item label {
	padding: 10px !important;
}

.wuf-checkbox-item:hover {
    border: 2px solid #1890ff;
}

.wuf-checkbox-item label {
    display: block; /* Ensure the label is always displayed */
}

/*loader style*/

#wufloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wuf-loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Popup style */
.wuf-popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Dark background with opacity */
}

.wuf-popup-content {
    background-color: #fff; /* White background */
    margin: 15% auto; /* Centered */
    padding: 30px; /* Increased padding */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Soft shadow */
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Maximum width */
    text-align: center; /* Center text */
}

.wuf-popup h2 {
    margin: 0 0 20px; /* Space below the title */
    font-size: 24px; /* Larger font size for the title */
    color: #333; /* Darker color for the title */
}

.wuf-popup p {
    margin: 0 0 20px; /* Space below the paragraph */
    font-size: 16px; /* Font size for the message */
    color: #555; /* Slightly lighter color for the message */
}

.no-scroll {
    overflow: hidden; /* Prevent scrolling */
    height: 100%; /* Ensure the body takes full height */
}

@media (min-width: 768px) {
    .wuf-container {
		width: 100%;
        flex-direction: row;
    }

    .wuf-left-section {
        margin-bottom: 0;
    }

}

/* Hide input placeholders on mobile devices */
@media (max-width: 768px) {
    input::placeholder {
        color: transparent; /* Make the placeholder text transparent */
    }
	
	.wuf-container {
		margin-top: 40px;
	}

    .wuf-error-message {
        display: block; /* Ensure the error message is displayed */
        margin-top: 35px; /* Add some space above the error message */
        font-size: 12px !important; /* Adjust font size for better readability */
        color: red; /* Set the color for error messages */
    }
	
	.wuf-left-section strong {
    color: black; /* Highlighted color for important text */
    font-weight: bold; /* Bold font weight for emphasis */
	font-size: 36px;
	line-height: 1.2;
	font-weight: 900 !important;
	}
    
}