/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f9;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Header Styling */
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Input Fields */
input[type="text"], input[type="password"] {
    width: 60%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Buttons */
button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
   
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Timer */
#timer {
    font-weight: bold;
    margin: 20px 0;
}

/* Quiz Options */
.options {
    margin: 20px 0;
}

.options button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #007BFF;
    color: #333;
    text-align: left;
    border-radius: 5px;
    font-size: 1rem;
}

.options button:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Results Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

th {
    background-color: #007BFF;
    color: #fff;
}

td {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    input[type="text"], input[type="password"] {
        width: 90%;
    }

    button {
        width: 90%;
    }

    .options button {
        font-size: 0.9rem;
    }
}

table td button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

table td button:hover {
    background-color: #c82333;
}

