html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* General Table Styling -- Addition Style goes here*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Table Header Styling */
th {
    background-color: #007bff;
    color: white;
    padding: 12px;
    text-align: center;
}

/* Table Rows Styling */
td {
    padding: 12px;
    border: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

/* GPA Display Styling */
.gpa-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin: 10px 0;
}

.student-name {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0; /* Adds some spacing around the name */
    color: #333; /* Optional: Change the text color */
}


/* Ensure the table is scrollable if content exceeds the page height */
.table-container {
    max-height: 50vh; /* Adjust the height as needed */
    overflow-y: auto;
    border: 1px solid #ddd; /* Optional: add a border for better visibility */
    margin-bottom: 20px;
}

/* Error Message Styling addition style goes her */

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef2f5;
    color: #333;
}

/* Container for Content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Page Header Styling */
h1 {
    text-align: center;
    color: #007bff;
    margin-top: 10px;
}

/* Footer Styling */
/*footer {
    text-align: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    margin-top: 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}*/

/* Adjust the footer to not overlap */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-top: 20px;
}



// Add this style to the end of the file additional style form form
/* Center the form and its controls */
form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

form .input-group {
    width: 100%;
    max-width: 400px; /* Limit the width for better layout */
    margin: 10px 0;
}

form input {
    width: 90%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 0.75em 1.5em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

    form button:hover {
        background-color: #0056b3;
    }