* {
    font-family: "Times New Roman", Times, serif;
    font-style: normal;
    font-size: 18px;
}

.container {
    width: 700px;
    height: 950px;
    margin: 0 auto;
    padding-bottom: 0px;
}
.head {
    margin-top: 0px;
}
.head .head-img {
    width: 93%;
    display: block;
    margin: 10px auto;
}
.department {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.department p {
    margin-bottom: 0px;
}

.department input {
    text-align: center;
}
#lab-report {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    margin-top: -10px;
}
.code-title {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    background-color: transparent;
    resize: none;
    overflow-y: hidden;
}
code input.code-field,
input.title-field {
    font-size: 20px !important;
    font-weight: 500;
    width: 100%;
}
.code-title .experiment-table table {
    border-collapse: collapse; /* Merge borders */
    width: 100%; /* Ensure table takes full width */
}
.experiment-table {
    width: 100%;
    height: 200px;
}
.experiment-table table {
    width: 100%;
    border-collapse: collapse;
    height: 5%;
}
.experiment-table .experiment-no {
    width: 20%;
}
.experiment-table .experiment-no p {
    margin-top: -35px;
}
.experiment-table .experiment-name p {
    margin-top: 0px;
}
.experiment-table #experiment-no-field {
    text-align: center; /* Align text center */
    width: 95%;
}
.experiment-table #experiment-name-field {
    width: 95%;
    resize: inherit;
    font-weight: 700;
    overflow-y: hidden;
}
.experiment-table th,
.experiment-table td {
    border: 2px solid rgb(0, 0, 0); /* Add border to table cells */
    padding: 8px; /* Add padding for better spacing */
}

.experiment-table .ex-input input,
.experiment-table .ex-input textarea {
    border: none;
    width: 100%;
    box-sizing: border-box;
}
.submit-table p {
    font-size: 18px;
}
.submit-table th {
    width: 60%;
}

.submit-table-by {
    width: 70%; /* Adjusted width for the "Submitted By" section */
}

.by-section {
    width: 30%;
    text-transform: uppercase;
}

.submit-table-to {
    width: 30%; /* Adjusted width for the "Submitted To" section */
    text-align: left;
}
.submitted-to-text {
    text-align: center;
}

.submit-table-date .exp,
.submit-table-date .sub {
    display: flex;
    margin-left: 5px;
}

.submit-table-date input {
    width: 50%;
}
.submit-table table {
    border-collapse: collapse;
    border: 1px solid rgb(0, 0, 0);
    width: 100%;
}

.submit-table th {
    border: 1px solid rgb(0, 0, 0);
    position: relative;
}
.by p {
    margin-left: 5px;
    margin-right: 10px;
}
.level-term {
    display: flex;
}
#level {
    width: 15%;
    margin-left: 10px;
}
#term {
    width: 20%;
    margin-left: 10px;
    text-transform: uppercase;
}

.submit-table-signature {
    position: absolute;
    top: -35px;
    left: 0;
    margin-left: 15px;
}

.submit-table-remarks {
    position: absolute;
    top: -35px;
    left: 0;
}
.by {
    display: flex;
    height: 40px;
    font-size: 15px;
    align-items: center;
}
.field {
    font-size: 18px;
    border: none;
    background-color: transparent;
    margin: 7px;
}
.ex-field {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    border: none;
    background-color: transparent;
}
.date-field {
    margin-left: 5px;
}

#btn {
    padding: 10px 30px;
    border: none;
    color: white;
    background: linear-gradient(to right, #0300ba, #219ff3);
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: block;
    margin: 8px auto;
}
#btn:hover {
    transform: scale(1.05);
}

.submit {
    position: relative;
}

.submit .watermark {
    position: absolute;
    top: -5%;
    left: 20%;
    right: 0;
    z-index: -1; /* Ensure the watermark is behind other elements */
    opacity: 0.15; /* Adjust the opacity as needed */
    pointer-events: none; /* Ensure the watermark doesn't interfere with mouse events */
    width: 60%;
    height: 60%;
}

.submitted-to {
    position: relative;
    margin-left: 5px;
}
.by-name {
    width: 75%;
}
.by-id {
    width: 75%;
}
.to-name {
    width: 97%;
}
.to-post {
    width: 97%;
}
.to-dept {
    width: 97%;
}
#footer {
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0px; /* Add padding to separate content from edges */
    text-align: center;
}
#footer p {
    margin-top: 17px;
    text-align: center;
    font-size: 14px;
    font-family: sans-serif;
}
#footer a {
    text-decoration: none;
    color: red;
    font-size: 15px;
}
@media print {
    #footer {
        display: none;
    }
    .container {
        padding-bottom: 0px;
    }
}
