@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* General body styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ff69b4;
    color: white;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quiz-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: rgb(88, 84, 84);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) important!;
}

/* Dropdown categories */
.category {
    margin-bottom: 20px;
}

.category-toggle {
    width: 100%;
    background-color: #625f5f;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.category-toggle:hover {
    background-color: #605c5c;
}

.subcategories {
    display: none;
    padding-left: 20px;
}

/* Quiz item styling */
.quiz-item {
    margin-bottom: 20px;
}

.quiz-item p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Response boxes */
input[type='text'] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    min-height: 50px !important;
}

/* Highlighting text boxes for correct/incorrect answers */
input[type='text'].correct {
    background-color: lightgreen;
}

input[type='text'].incorrect {
    background-color: lightcoral;
}

input[type='text']:disabled {
    background-color: #f1f1f1;
}

/* Multiple choice radio buttons */
.quiz-item {
    margin-bottom: 10px;
}

.quiz-item label {
    display: block; /* Makes each label (and its radio button) appear on a new line */
    margin-bottom: 10px; /* Adds space between the options */
    font-size: 16px;
}

.quiz-item input[type='radio'] {
    margin-right: 10px; /* Space between the radio button and the text */
}

/* Button styles */
button {
    background-color: #ff69b4;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #f0a0c0;
}

/* Modal window */
.modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgb(71, 70, 70);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Fuel tracker */
.fuel-tracker {
    font-size: 16px;
    margin-left: 15px;
}

/* Logout button */
#logoutButton {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

#logoutButton:hover {
    background-color: #d32f2f;
}
