@charset "UTF-8";
/* CSS Document */

.xb-form-container {
    max-width: 600px;
    width: 90%;
    margin: 50px; /* Centers the form horizontally */
    padding: 35px;
    border-radius: 16px; /* Modern rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft, clean shadow */
    font-family: var(--parrafo), Roboto, Helvetica, Arial, sans-serif;
    color: #FFFFFF;
	text-align: left;
    box-sizing: border-box;
	border: 0px solid var(--bluegrey);
background: #0a0505;
background: -webkit-linear-gradient(180deg, rgba(10, 5, 5, 1) 0%, rgba(140, 0, 0, 1) 100%);
background: -moz-linear-gradient(180deg, rgba(10, 5, 5, 1) 0%, rgba(140, 0, 0, 1) 100%);
background: linear-gradient(180deg, rgba(10, 5, 5, 1) 0%, rgba(140, 0, 0, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0A0505", endColorstr="#8C0000", GradientType=0);
}


/* Form Fields Styling */

.xb-checkbox-group input[type="checkbox"] {
	display: block;
}

.xb-checkbox-group label {
	display: flex;
	flex-direction: row;
	gap: 5px;
	border: 0px solid blue;
	align-items: center;
	margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--white);
}

.xb-field-wrapper {
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.xb-input-field {
    width: 100%;
    padding: 14px 16px;
    margin: 2px 0 20px 0;
    border: 2px solid #ff4d4d; /* Requested red border, modern shade */
    border-radius: 10px; /* Rounded inputs */
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}



/* Smooth focus state */
.xb-input-field:focus {
    outline: none;
    border-color: #cc0000;
	background: #F8E8E8;
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.15);
}

/* Grey placeholder text */
.xb-input-field::placeholder {
    color: #a0a0a0;
    opacity: 1; 
}

select.xb-input-field:invalid {
    color: #a0a0a0;
}

/* Radio & Checkbox Styling */
.xb-radio-group, .xb-checkbox-group {
    margin-bottom: 20px;
    font-size: 15px;
}

.xb-radio-group p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--white);
}

.xb-radio-group label {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--white);
}

/* reCAPTCHA padding */
.xb-recaptcha-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start; /* Centers the captcha */
	border: 0px solid blue;
}

/* Submit Button */
.xb-submit-button {
    background-color: #ff4d4d;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 30px; /* Rounded button */
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 60%;
	margin: 0 auto;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.xb-submit-button:hover {
    background-color: #e60000;
}

.xb-submit-button:active {
    transform: scale(0.98); /* Slight click effect */
}

/* Modal Box Styling */
.xb-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px); /* Modern blur effect */
    align-items: center;
    justify-content: center;
}

.xb-modal-content {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    font-family: inherit;
}

#xb-modal-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.xb-close-button {
    padding: 10px 24px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.xb-close-button:hover {
    background-color: #e0e0e0;
}

/* Loading Spinner */
.xb-loader {
    border: 4px solid #f3f3f3; /* Light grey track */
    border-top: 4px solid #ff4d4d; /* Xbit Red */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: xb-spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

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

/* Modal Image */
.xb-modal-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    object-fit: contain;
}

@media (max-width: 768px) {
	.xb-form-container {
    max-width: 600px;
		width: 100%;
	}
	
	.xb-field-wrapper {
	flex-direction: column;
}
}