h1 {
    color: black; /* Change "blue" to whatever color you desire   408697*/
    font-size:xx-large;
}

h2 {
    color: black; /* Change "blue" to whatever color you desire */
}

/* Background color */
body {
    background-color: #eff1f4; /* You can modify this HEX value later #5d8aa8   F6F6F6  88BDBC*/
    font-family: Arial, sans-serif;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    height: 100vh; /* Set body height to viewport height */
    display: flex;
    flex-direction: column;
}

/* Header styling */
.top-section {
    background-color: #008080; /* You can modify this HEX value later #00008b   363538*/
    color: black; /* Font color */
    /*font-size: 24px;  Larger font size */
    padding: 20px; /* Add padding for better readability */
    text-align: center; /* Center-align the text */
    /*height: 10%;  Takes vertically 10% of the page */
    flex: 10;
    text-align: center;
}
.header{
    background-color: #008080;
    border-bottom: 1px solid black;
}

/* Main section styling */
.middle-section {
    display: flex;
    /*height: 65%;  Takes vertically 65% of the page */
    flex: 50;
    border:1px;
}

.left-middle {
    flex: 75%; /* Takes 75% of the page horizontally */
    padding: 20px; /* Add padding for better readability */
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center-align items vertically */
    border-bottom: 1px solid black; /* Adjust properties as needed */
}

.right-middle {
    display:flex;
    flex: 35%; /* Takes 25% of the page horizontally */
    padding: 10px; /* Add padding for better readability */
    flex-direction: column; /* Stack buttons vertically */
    align-items:flex-start; /* Align buttons to the left */
    justify-content: center; /* Center-align items vertically */
    border-bottom: 1px solid black; /* Adjust properties as needed */
}

/* Footer styling */
.bottom-section {
    background-color: #eff1f4; /*#00008b  8D8C8A*/
    color: white;
    padding: 10px;
    text-align: center;
    display: flex;
    flex: 40;
    justify-content: space-between;
    /*align-items: center;*/
}




/*Section below for bottom submit section*/
.bottom-left {
    display: flex;
    flex-direction: column; /* Arrange children vertically */
    gap: 5px; /* Space between elements */
    padding-left: 50px;
}

.header-and-button {
    display: flex;
    align-items: center; /* Align items vertically */
    /*justify-content: space-between;*/ /* Space items horizontally */
    gap: 50px; /* Reduce space between the text and the button */
}

    .header-and-button h2 {
        margin: 0; /* Remove extra margin around header */
        padding-left: 120px;
    }






/* Form styling */
form {
    margin-top: 20px; /* Add some space between header and form */
    width: 80%;
}




/*https://www.w3schools.com/colors/colors_monochromatic.asp*/

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    width: 20%; /* Adjust as needed */
    margin-right: 10px;
    white-space: nowrap; /* Prevent word wrapping */
}

.form-group input[type="text"],
.form-group input[type="input"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 30px; /* Adjust height */
    width: 350px; /* Make input fields 25% less wide */
    margin-left: 50px; /* Add gap between label and input field */
    margin-right: 10px;
}

.form-group select[type="input"] {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 30px; /* Adjust height */
    width: 350px; /* Make input fields 25% less wide */
    margin-left: 50px; /* Add gap between label and input field */
    margin-right: 10px;

}


label {
    display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: calc(70% - 150px); /* 30% narrower */
    border-radius: 5px;
    height: 20px;
}

/*input[type="submit"],*/
.next-btn {
    padding: 10px 10px;
    cursor: pointer;
    width: 50%; /* Adjusted width */
    margin-top: 20px; /* Add space between buttons */
}

.next-btn {
    background-color: #008080;  /*4CAF50   52D6F4*/
    color: white;
    border: none;
    border-radius: 8px; /* Rounds the corners */
}

.delete-btn {
    padding: 10px 10px;
    cursor: pointer;
    width: 50%; /* Adjusted width */
    margin-top: 20px; /* Add space between buttons */
}

.delete-btn {
    background-color: #008080;
    color: white;
    border: 2px solid red;
    border-radius: 8px; /* Rounds the corners */
}

input[type="submit"],
.submit-btn {
    padding: 5px 5px;
    cursor: pointer;
    width: 50%; /* Adjusted width */
    margin-top: 5px; /* Add space between buttons */
}

input[type="submit"] {
    background-color: #008080;  /* f44336 */
    color: white;
    border: 2px solid green;
    border-radius: 8px; /* Rounds the corners */
}

.display-btn {
    padding: 5px 20px;
    cursor: pointer;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 8px; /* Rounds the corners */
}

hr {
    margin-top: 20px; /* Add space above the line */
    border: none;
    border-top: 3px solid #000; /* Black line */
}

/* CSS for table formatting */
#entriesList table {
    border-collapse: collapse; /* Collapse borders between cells */
    width: 100%; /* Set table width to 100% */
    
}

#entriesList th, 
#entriesList td {
    border: 1px solid #ddd; /* Add border around cells */
    padding: 8px; /* Add padding to cells */
    text-align: left; /* Align text to the left within cells */
    padding-left:20px;
    padding-right:20px
    
}

#entriesList th {
    background-color: #f2f2f2; /* Set background color for table header cells */
}

/* Define a class for styling the table */
.table-styled {
    color: black; /* Change the color to your desired color */
}

/* Apply the styling to all elements inside the table */
.table-styled * {
    color: black; /* Change the color to your desired color */
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .middle-section {
        flex-direction: column;
    }

    .left-middle, .right-middle,
    .bottom-left, .bottom-right {
        flex: none;
    }

    .bottom-section {
        flex-direction: column;
    }
}
