body {
    background-color: #f0ebf8;
    font-family: 'Google Sans', sans-serif;
}
form {
    background-color: #FFFFFF;
    max-width: 2000px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
h1 {
    font-weight: 400;
    text-align: center;
}
h2 {
    font-weight: 400;
}
label, input, select, textarea, button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
label {
    font-weight: 500;
}
.red-asterisk {
    color: red;
    font-weight: normal;
}
.form-section {
    display: none;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
th {
    font-weight: 400;
    font-size: 16px;
}
td {
    font-weight: 300;
    font-size: 14px;
}
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    outline: none;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="date"]::placeholder,
input[type="number"]::placeholder {
    color: #999;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus {
    border-bottom: 2px solid #6200ea;
}
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    margin-bottom: 20px;
}
.checkbox-container input {
    margin-right: 6px;
    vertical-align: middle;
}
.checkbox-container span {
    font-family: inherit;
    font-weight: normal;
    position: relative;
    top: -3px;
    flex-shrink: 0;
}
textarea {
    width: 100%;
    box-sizing: border-box;
    height: 100px;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    outline: none;
}
textarea::placeholder {
    color: #999;
}
textarea:focus {
    border-bottom: 2px solid #6200ea;
}
.action-column {
    width: 100px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.close {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: normal;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
button[type="button"].add-row-btn {
    width: auto;
    border: none;
    background: none;
    color: blue;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
button[type="button"].add-row-btn::before {
    content: "+ ";
}
.submit-btn {
    width: auto;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.submit-btn:hover {
    background-color: #45a049;
}
.back-btn {
    width: auto;
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.back-btn:hover {
    background-color: #d32f2f;
}
.rules {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
.rules p {
    margin: 10px 0;
}

.file-upload-container {
    width: 96px; /* about 1 inch */
    align-items: center;
    gap: 8px; /* small space between button and text */
    margin-bottom: 10px;
}
#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
  }
  
  #toast.show {
    visibility: visible;
    opacity: 1;
  }
  