/* MCQ Survey Plugin Styles */

.mcq-survey-container {
  
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
   
}



.mcq-step {
    display: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.mcq-step.active {
    display: block;
}

.mcq-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.mcq-step-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.mcq-step-subtitle {
    color: #666;
    font-size: 16px;
}

.mcq-form-group {
    margin-bottom: 5px;
}

.mcq-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.mcq-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.mcq-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.mcq-input[readonly] {
    background-color: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

.mcq-user-info {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.mcq-user-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.mcq-survey-about {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.mcq-survey-about h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

/* Survey About Selection Styles */
.mcq-survey-about-selection {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5e9;
}

.mcq-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.mcq-radio-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.mcq-radio-option:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.mcq-radio-option input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.mcq-radio-option input[type="radio"]:checked + .mcq-radio-text {
    color: #007cba;
    font-weight: 600;
}

.mcq-radio-option:has(input[type="radio"]:checked) {
    border-color: #007cba;
    background: #e3f2fd;
}

.mcq-radio-text {
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

/* Prefilled field styles */
.mcq-input.mcq-prefilled {
    background-color: #e8f5e8;
    border-color: #28a745;
    color: #155724;
}

.mcq-input.mcq-prefilled:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.mcq-question {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #007cba;
}

.mcq-question-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.mcq-options {
    display: grid;
    gap: 10px;

    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.mcq-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.mcq-option:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.mcq-option input[type="radio"] {
    margin-right: 0px;
    transform: scale(1.2);
}

.mcq-option.selected {
    border-color: #007cba;
    background: #e3f2fd;
}

.mcq-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    padding-top: 0px;
    border-top: 0px solid #e1e5e9;
}

.mcq-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.mcq-btn-primary {
    background: #007cba;
    color: #fff;
}

.mcq-btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.mcq-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.mcq-btn-secondary:hover {
    background: #545b62;
}

.mcq-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.mcq-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.mcq-progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e1e5e9;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.mcq-progress-step.active {
    background: #007cba;
    color: #fff;
}

.mcq-progress-step.completed {
    background: #28a745;
    color: #fff;
}

.mcq-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background: #e1e5e9;
    transform: translateY(-50%);
}

.mcq-progress-step.completed:not(:last-child)::after {
    background: #28a745;
}

/* Results Styles */
.mcq-results-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.mcq-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.mcq-results-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.mcq-results-subtitle {
    color: #666;
    font-size: 18px;
}

.mcq-chart-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    height: 400px;
    
    position: relative;
    overflow: hidden;
}

.mcq-chart-container canvas {
    max-height: 300px !important;
    height: 300px !important;
}

.mcq-chart-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.mcq-scores-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mcq-scores-table th,
.mcq-scores-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.mcq-scores-table th {
    background: #e6e6e6;
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.mcq-scores-table td {
    color: #fff;
    font-size: 14px;
}

.mcq-scores-table td:last-child {
    font-weight: 600;
    color: #fff;
    text-align: center;
}

/* Category name and description styles */
.mcq-category-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
}

.mcq-category-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    font-style: italic;
}

.mcq-scores-table tbody tr:hover {
    background: #f8f9fa;
}

/* Score Legend Styles */
.mcq-score-legend {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.mcq-score-legend h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.mcq-legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.mcq-legend-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
}

.mcq-legend-range {
    font-weight: 600;
    margin-right: 8px;
    min-width: 60px;
}

.mcq-legend-desc {
    flex: 1;
}

/* Loading States */
.mcq-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.mcq-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Error States */
.mcq-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.mcq-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mcq-survey-container,
    .mcq-results-container,
	.mcq-results-page {
        padding: 15px;
		padding-left: 0 !important;
				padding-right: 0  !important;
    }
    
    .mcq-step {
        padding: 20px;
    }
    
    .mcq-navigation {
       
        gap: 15px;
    }
    
    .mcq-btn {
        min-width: 100px;
		
        text-align: center;
    }
    
    .mcq-scores-table {
        font-size: 12px;
    }
    
    .mcq-scores-table th,
    .mcq-scores-table td {
        padding: 8px 10px;
    }
	.mcq-latest-report{padding: 10px !important}
}

/* Registration Form Styles */
.mcq-registration-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.mcq-registration-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.mcq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
	margin-bottom:10px;
}

@media (max-width: 768px) {
    .mcq-form-row {
        grid-template-columns: 1fr;
    }
}


/* Already Submitted Message Styles */
.mcq-already-submitted {
    background: #fff;
    border-radius: 10px;
    min-height: 75vh;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.mcq-already-submitted h2 {
    color: #c36;
    font-size: 28px;
    margin-bottom: 20px;
}

.mcq-already-submitted p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Submit Loader Styles */
.mcq-submit-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.mcq-submit-loader-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.mcq-submit-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.mcq-submit-loader-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.mcq-submit-loader-subtext {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
@media(max-width:767px){
	.mcq-navigation{margin-top: 0 !important;}
	.mcq-form-row {gap:10px;}
	.mcq-chart-container{height: 350px;padding:2px !important;}
	
}