/* Background Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.795); /* Darkened background */
    z-index: 0; /* Below the modal */
    display: none; /* Hidden by default */
}

/* Modal Window */
.addWindow {
    visibility: hidden;
    background-color: #333;
    min-width: 350px;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1; /* Above the overlay */
    left: 50%;
    top: 120px;
    transform: translateX(-50%);
    font-size: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: center;
}

/* Displaying the overlay */
.overlay.show {
    display: block;
}

#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 80px;
    font-size: 17px;
    padding: 16px;
}
#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 80px; opacity: 1;}
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 80px; opacity: 1;}
}
@-webkit-keyframes fadeout {
    from {bottom: 80px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
    from {bottom: 80px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

table {
  border-collapse: collapse;
  width: 70%;
  color: #D09683;
  border: 1px black;
}
td {
  text-align: right;
  padding: 8px;
  color: white;
}
th {
  text-align: right;
  background-color: #232525;
  padding: 8px;
  color: white;
  font-weight: bold;
}
body {
    font-family: 'Fredoka', sans-serif;
    background-color: #73605B;
    color: #330000; /* Dark blue */
    text-align: right;
    padding: 20px;
    margin-right: 30px;
}
h1 {
    color: #C8CDCD; /* Dark blue */
    border-bottom: 2px solid #1CF5F5;
    display: inline-block;
    padding-bottom: 5px;
}
label {
    color: white;
}
input[type="text"], textarea {
    font-family: 'Fredoka', sans-serif;
    border: 0px solid #D09683; /* Dark blue */
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    text-align: right;
}
select {
    font-family: 'Fredoka', sans-serif;
    border: 0px solid #D09683; 
    border-radius: 1px;
    padding: 5px;
    max-width: 200px;
    margin: 10px 0;
    text-align: right;
}
button {
    background-color: #D09683; 
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}
form {
    text-align: right;
}
textarea {
    width: 100%; 
    max-width: 500px;
}
.blue-bar {
    width: 100%;
    height: 70px; /* You can adjust the height as needed */
    background-color: #330000;
    position: fixed; /* Keeps the bar fixed at the top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures the bar is on top of other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}
.buttom-bar {
    width: 100%;
    height: 40px; /* You can adjust the height as needed */
    background-color: #D09683;
    position: fixed; /* Keeps the bar fixed at the top */
    bottom: 0;
    left: 0;
    z-index: 1000; /* Ensures the bar is on top of other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: white;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.clickable-icon {
    cursor: pointer; /* Change cursor to pointer when hovering over the icon */
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 20%; /* Could be more or less, depending on screen size */
    align-items: center;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}