
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 680px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
}
#welcome-screen h1 {
    font-size: 27px;
    padding-bottom: 15px;
}
#question-container h2 {
    padding-bottom: 14px;
}
.pdf_dwnload_file {
    text-align: center;
    margin-top: 20px;
}
.pdf_dwnload_file p {
    background: #ED2F23;
    display: inline-block;
    padding: 9px 27px;
    color: #FFF;
    border-radius: 13px;
    font-weight: 600;
}
.pdf_dwnload_file p a {
    color: #FFF;
    display: inline-block;
}
.hidden {
    display: none;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
button {
    background-color: #FCE002;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 0;
}

button:hover {
    background-color: #007bff;
}

.question {
    margin-bottom: 20px;
}

.answers button {
    display: block;
    width: 100%;
    margin: 11px 0;
}

.answers button.correct {
    background-color: #28a745;
}

.answers button.incorrect {
    background-color: #dc3545;
}

.results {
    font-size: 18px;
    margin-top: 20px;
}

form {
    margin-top: 20px;
}

#user-info-form input[type="text"], #user-info-form input[type="tel"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.user-info-form input[type="submit"] {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #218838;
}

.logo a img {
    width: 250px;
}
.logo {
    text-align: center;
    margin: 30px 0px;
}

#results-summary {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 6px;
}
.Total.time {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 6px;
}

.Answer_right_pdf p {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 6px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 15px;
}
th {
    background-color: #f4f4f4;
}

td {
    word-wrap: break-word; /* Break long words */
}
.filter-form {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.filter-form label {
    margin-right: 10px;
}
.filter-form input[type="text"],
.filter-form input[type="date"],
.filter-form select,
.filter-form button {
    margin-right: 10px;
    padding: 8px 15px;
    outline: none !important;
}
.single_input {
    margin: 5px 0px;
}
#min_score {
    width: 50px;
}
.export-btn {
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
.export-btn:hover {
    background-color: #0056b3;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination a {
    margin: 0 5px;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f4f4f4;
    color: #333;
}
.pagination a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.pagination a:hover {
    background-color: #0056b3;
    color: white;
}



.form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#reset_restrictions input, #reset_restrictions select, #reset_restrictions button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}
.main-content {
    margin-left: 220px; /* Adjust for the sidebar width */
    padding: 20px;
}

.sidebar ul li a.active_class{
    background-color: #007bff;
    color: #FFF;
}

.main-content {
    margin-left: 240px;
    padding: 35px;
}

.full_container {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/*sidebar Css */
.sidebar {
    width: 200px;
    height: 100vh;
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
}
.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    margin-bottom: 15px;
}
.sidebar ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.sidebar ul li a:hover {
    background-color: #007bff;
    color: white;
}
.sidebar ul li a.active {
    background-color: #007bff;
    color: white;
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}
input[type="password"], button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    background-color: #FCE002;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
button:hover {
    background-color: #D0BB15;
}
.message {
    color: green;
    margin-top: 10px;
}
.error {
    color: red;
  }

.filter-form button{
    width: auto;
}

#progress-container p {
    font-size: 18px;
    padding-bottom: 14px;
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
    margin-top: 0px;
}

 /* Wrapper for Responsive Table */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 0px;
    }

    /* Add Scrollbar for Screens 1200px or Smaller */
    @media screen and (max-width: 1200px) {
        .table-responsive {
            overflow-x: auto;
        }
    }

    /* Table Styling */
    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 1090px;
        background-color: #fff;
    }

    /* Optional: Scrollbar Styling */
    .table-responsive::-webkit-scrollbar {
        height: 8px;
    }
    .table-responsive::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
    }
    .table-responsive::-webkit-scrollbar-thumb:hover {
        background-color: #aaa;
    }
h1 {
    text-align: center;
}

#user-info-form input[type="submit"] {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    width: 90%;
    padding: 10px;
    margin: 10px 0px;
    border: 1px solid rgb(0, 123, 255);
    border-radius: 5px;
    font-size: 18px;
}
.delete-button-container {
    margin-bottom: 0;
    text-align: left;
}
.delete-button-container .delete-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    width: max-content;
    margin-bottom: 0;
}
.delete_form_class{
    margin-top: 0px;
}
.delete-btn:hover {
        background-color: darkred;
}

.language-select {
    margin: 40px 0px;
}
.language-select select {
    padding: 6px 10px;
}
.language-select label {
    font-size: 18px;
}