.snmcqs-container {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.snmcqs-container h1, .snmcqs-container h2 {
    text-align: center;
    color: #333;
}

.snmcqs-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #444;
}

.snmcqs-form input[type="text"],
.snmcqs-form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.snmcqs-form input[type="submit"] {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.snmcqs-form input[type="submit"]:hover {
    background: #007bdf;
}

.snmcqs-questions-list {
    list-style: none;
    padding: 0;
}

.snmcqs-questions-list li {
    background: #f9f9f9;
    padding: 12px;
    margin: 8px 0;
    border-left: 5px solid #007bff;
    border-radius: 5px;
}

.snmcqs-questions-list b {
    color: #007bff;
}

/* below is css for response page */
.snmcqs-responses-container {
    max-width: 700px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.snmcqs-responses-container h2 {
    text-align: center;
    color: #333;
}

.snmcqs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.snmcqs-table th {
    background: #007bff;
    color: white;
    text-align: left;
    padding: 12px;
    font-size: 16px;
}

.snmcqs-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.snmcqs-table tr:nth-child(even) {
    background: #f9f9f9;
}

.snmcqs-table tr:last-child td {
    border-bottom: none;
}

.snmcqs-table .choices {
    font-weight: bold;
    color: #007bff;
}

.snmcqs-questions-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0073aa;
}
.snmcqs-wp-list-table {
    width: 100%;
    border-collapse: collapse;
}
.snmcqs-wp-list-table th, .snmcqs-wp-list-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.snmcqs-wp-list-table th {
    background-color: #f1f1f1;
}

.snmcqs-chart-container {
    min-width: 900px;
    width: 90%;
    max-width: 1200px; /* Optional */
    overflow-x: auto;  /* Allows scrolling if needed */
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

canvas {
    display: block;
    max-height: 400px;
    margin: auto;
}

#surveyChart {
    width: 90% !important;
}

