body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f0f0;
}

.container {
    background-color: white;
    padding: 40px 20px 20px 20px;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Input group styling */
.input-group {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    align-items: center;
}

.input-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 50px;
}

/* Label styling */
.input-item label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

/* Input field styling */
input[type="number"] {
    width: 160px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    transition: border-color 0.3s ease;
}

input[type="number"]:focus {
    border-color: #007BFF;
    outline: none;
}

.input-item:last-child {
    margin-right: 0;
}


button {
    width: 100%;
    margin-bottom: 10px;
    padding: 20px;
    background: #006529 !important;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}

button:hover {
    background-color: #0056b3;
}

#gradeOutput {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #FF5733;
}

/* Checkbox group styling */
.checkbox-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Label and input styling */
.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-right: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* Ensure responsiveness */
@media (max-width: 400px) {
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-group label {
        margin-bottom: 10px;
    }
    #gradeOutput {
        font-size: 26px !important;
        border-radius: 5px !important;
        margin-bottom: 25px;
        padding: 10px 0 5px 0 !important;
    }
    .input-item {
        margin-right: 25px !important;
    }
    input[type="number"] {
        width: 95px !important;
    }
}


#chartContainer {
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
    font-family: monospace;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

td {
    text-align: center;
}

th, td {
    padding: 10px;
}


#gradeOutput {
    font-family: "American Typewriter", Consolas, Andale Mono, monospace;
    font-style: normal;
    border-radius: 10px;
    padding: 5pt;
    font-size: 35pt;
    background-color: #CC4C00;
    color: #fff;
    display: block;
    text-align: center;
    border: 1px solid #eee;
}
.mb-10{
    margin-bottom: 10px;
}