/* styles.css PYE */
body {
    font-family: Arial, sans-serif;
}

h1{
    color: rgb(90, 7, 198);
    margin: auto;
    width: 50%;
    border: 3px solid green;
    padding: 10px;
    text-align: center;
}
/* For navigations */
.nav a {
    text-decoration: none;
    background-color: rgb(90, 7, 198);
    padding: 1%;
    color: whitesmoke;
    border-radius: 20%;
}
.nav a:hover {
    background-color: #0056b3; 
}
/* Container for the tables */
.tables-container {
    display: flex;
    flex-wrap: wrap; /* Allow tables to wrap onto next line if necessary */
}

/* Style the tables */
table.school-table {
    width: calc(50% - 20px); /* Set table width to half of the container width with some spacing */
    margin: 10px; /* Add spacing between tables */
    border-collapse: collapse;
}

/* Style table headers */
table.school-table th {
    background-color: #f2f2f2;
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Style table rows */
table.school-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Style table data cells */
table.school-table td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Hover effect on table rows */
table.school-table tr:hover {
    background-color: #ddd;
}


/* add student and add school form */
input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button {
    background-color: rgb(90, 7, 198);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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