/* Parent Wrapper */
.custom-survey-form {
  padding: 40px;
  font-family: 'Arial', sans-serif;
}

/* Heading */
.custom-survey-form h1 {
	text-align: center;
	font-size: 34px;
	color: #333;
	margin-bottom: 20px;
	font-weight: bold;
}
.custom-survey-form .assessment-question {
	color: #333;
	font-size: 24px;
}



/* Form Tabs */
.custom-survey-form .tab {
    display: none;
    font-size: 18px;
    text-align: left;
    color: #555;
    padding: 20px;
    border-radius: 10px;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.05);
}

/* Radio Buttons */
.custom-survey-form input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Next/Prev Buttons */
.custom-survey-form #prevBtn, 
.custom-survey-form #nextBtn {
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    margin: 10px 5px;
    transition: 0.3s ease-in-out;
}

.custom-survey-form #prevBtn:hover,
.custom-survey-form #nextBtn:hover {
    opacity: 0.8;
}

/* Steps Indicator */
.custom-survey-form .step {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}

.custom-survey-form .step.active {
    background-color: #007bff;
}

.custom-survey-form .step.finish {
    background-color: #28a745;
}

/* Responsive */
@media (max-width: 600px) {
    .custom-survey-form {
        width: 90%;
        padding: 30px;
    }
}


/* Progress Bar Styling */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background-color: #4CAF50;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* Assessment Result Page Design */
.assessment-result-container {
	max-width: 800px;
	margin: 50px auto;
	padding: 20px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.assessment-result-container h1 {
	font-size: 28px;
	color: #333;
	margin-bottom: 20px;
}

.assessment-result-container p {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
	text-align: justify;
	margin-bottom: 20px;
}

.assessment-result-container .btn-group {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.assessment-result-container .btn {
	padding: 10px 20px;
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

.assessment-result-container .btn-download {
	background: #4CAF50;
	color: white;
}

.assessment-result-container .btn-download:hover {
	background: #45a049;
}

.assessment-result-container .btn-email {
	background: #007BFF;
	color: white;
}

.assessment-result-container .btn-email:hover {
	background: #0056b3;
}

.assessment-result-container .user-details p {
	line-height: 10px;
}

/* SweetAlert Popup Styling */
.swal2-popup.swal2-modal.sweetalert-custom-popup.swal2-show {
    width: 50%;
    max-width: 800px;
    min-width: 400px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

/* Heading Styling */
.swal2-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Input Box Styling */
.swal2-input {
    width: 80% !important;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.swal2-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Button Styling */
.swal2-confirm,
.swal2-cancel {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, opacity 0.3s;
}

.swal2-confirm {
    background-color: #28a745 !important;
    color: #fff !important;
	font-weight: bold !important;
}

.swal2-confirm:hover {
    background-color: #218838;
    opacity: 0.9;
}

.swal2-cancel {
    background-color: #dc3545 !important;
    margin-left: 10px;
	color: #fff !important;
	font-weight: bold !important;
}

.swal2-cancel:hover {
    background-color: #c82333;
    opacity: 0.9;
}

/* General Styling */
#recipient-email, #recipient-name {
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}

#recipient-email:focus, #recipient-name:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
}
/* Error Message Styling */
.swal2-validation-message {
	justify-content: center;
	align-items: center;
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	opacity: 0;
	animation: fadeIn 0.5s forwards;
}

/* Animation for error message */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Adjusting for responsive design */
@media (max-width: 768px) {
    .swal2-validation-message {
        font-size: 14px;
        padding: 10px;
    }
}
/* Adjusting for small screens (max-width: 480px) */
@media (max-width: 480px) {
    .swal2-popup.swal2-modal.sweetalert-custom-popup.swal2-show {
        width: 95%; /* Ensure the popup is responsive even on very small screens */
        max-width: 500px;
        padding: 15px;
    }

    .swal2-title {
        font-size: 20px; /* Adjust title size for smaller devices */
        margin-bottom: 10px;
    }

    #recipient-email, #recipient-name {
        font-size: 14px; /* Slightly smaller font size for input boxes */
    }

    .swal2-validation-message {
        font-size: 12px; /* Smaller error message text */
        padding: 10px;
    }

    .swal2-confirm, .swal2-cancel {
        font-size: 14px; /* Reduce button font size on very small screens */
        padding: 10px 15px; /* Adjust button padding */
        margin-bottom: 10px;
    }
}

.btn.btn-copy {
    background-color: #17a2b8; /* Cool teal color */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn.btn-copy:hover {
    background-color: #138496; /* Slightly darker shade on hover */
}

/* new css start */

.progress-fill {
    background: #252672;
    border-radius: 10px;
}
.custom-survey-form label {
    position: relative;
    padding: 10px;
    border-radius: 40px;
    background: #25267238;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.custom-survey-form label:has(input[type="radio"]:checked) {
    background:#252672; 
     color:#fff;
}  
.custom-survey-form input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin-bottom: 10px;
}
.custom-survey-form {
    max-width: 70%;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 0 3px #00000054;
}

.custom-survey-form .tab p.error-message {
    position: absolute;
    bottom: 3px;
    margin: 0;
    background: #ff00003d;
    width: 100%;
    padding: 10px;
    border-radius: 20px 40px;
    text-align: center;
    justify-content: center;
}
/* new css end1 */

.btn-disabled {
    background-color: #d4d4d4 !important; /* Grey background */
    color: #888 !important; /* Lighter text color */
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}