﻿body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 98vh;
    margin: 0;
}
.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.header {
    background-color: #243444;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px;
}
.header h1 {
    margin: 0;
    font-size: 1.5em;
}
.form-container {
    padding: 20px;
    background-color: #fbb034;
    text-align: center;
}
.form-container h2 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.input-text {
    margin-top: 1%;
    border: 1px solid #aaa;
    padding: 5px;
    border-radius: 4px;
}
input {
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    color: #000;
}
h1,
h2 {
    text-transform: uppercase;
    font-weight: 400;
}
form {
    background-color: rgba(242, 242, 240, 1);
    width: 50%;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 600px;
    overflow-y: auto;
    max-height: 100%;
    padding: 20px;
}
.title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.info {
    display: flex;
    flex-direction: column;
    color: #000;
}
input::placeholder {
    color: #000;
    opacity: 0.8;
}
input {
    padding: 5px;
    margin-bottom: 30px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eee;
}
.checkbox {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.checkbox input {
    margin: 0 10px 0 0;
    vertical-align: middle;
}
.checkbox a {
    color: #26a9e0;
}
button {
    width: 100%;
    padding: 5px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #243444;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}
button:hover {
    background: #fdb913;
    color: #000;
}
h1,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.footer-td {
    background-color: #243444;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
    z-index: 1000;
}
.footer-td img,
.footer-td span {
    color: #ffffff;
}
.footer-td span {
    font-size: 12pt;
}
.footer-td .small-text {
    font-size: 9pt;
}
.main_area {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px; /* Ensure the form doesn't overlap with the footer */
}
@media (max-width: 768px) {
    form {
        width: 90%;
        padding: 5px;
        margin: 0 auto;
    }
    body,
    form,
    input,
    button {
        font-size: 14px;
        padding: 8px;
    }
    button {
        margin-top: 15px;
    }
    h1,
    p {
        font-size: 15px;
    }
    .title h2 {
        font-size: 17px;
    }
}