/* User Satisfaction Form CSS */
/* Container for the form */
.usf-form-container {
    width: 100%;
/*     max-width: 500px; */
    margin: 0 auto;
    padding: 20px;
	background: var(--unnamed-color-ffffff) 0% 0% no-repeat padding-box;
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 15px 30px #1B243114;
	border: 1px solid #DEE2E8CC;
	opacity: 1;
}

/* Title styling */
.usf-form-container h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Container for radio buttons */
.usf-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
	max-width: 50%;
}

/* Radio button styling */
.usf-button {
    padding: 10px 20px;
    color: #fff;
    border: solid 0.5px #eeee;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
	color: #707D98;
	font-size: 1.2rem;
}

/* Hover and active states for radio buttons */
.usf-yes:hover, label.usf-button.usf-yes.active {
    background-color: green;
    color: white;
}


.usf-sort-of:hover, label.usf-button.usf-sort-of.active {
    background-color: #ff7b00;
    color: white;
}

.usf-no:hover, label.usf-button.usf-no.active {
    background-color: #E2091B;
    color: white;
}

/* Hide the radio inputs */
input[type="radio"] {
    display: none !important;
}

/* Textarea styling */
textarea[name="comments"] {
    width: 100%; /* Same width as buttons container */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    resize: none;
}

/* Submit button styling */

.usf-submit {
	width: 15%;
	align-self:center;
    color: white;
    cursor: pointer;
	background-color: var(--primary-color);
    transition: background-color 0.3s;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .usf-buttons {
        flex-direction: column;
		width: 100%;
		max-width: none;
    }
    
    .usf-button {
        margin-bottom: 10px;
        width: 100%;
    }
	form#usf-form{
		display:flex;
		flex-direction:column;
	}
	
	.usf-submit {
		width: 100%;
	}
}

/* Custom alert styles */
.custom-alert {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-alert-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

#custom-alert-close {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#custom-alert-close:hover {
    background-color: #0056b3;
}


/* End of User Satisfaction Form CSS */