html,
body {
    position: relative;
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Paperlogy",  sans-serif;
    align-items: center;
}

.header-area {
    background-color: rgb(35, 10, 66);
    padding-top: 15px;
    padding-bottom: 15px;
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80%;
    background-color: white;
    border-radius: 5px;
    margin-top: 20px;
}

.form-container h2 {
    color: #552c9f;
    margin-top: 30px;
    margin-bottom: 10px;
}
.form-container p {
    color: #552c9f;
    font-size: 16px;
}

.form-container form {
    width: 70%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-row label {
    width: 140px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #552c9f;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: black;
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 30px;
    background-color: #552c9f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: rgb(54, 31, 83);
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.error-message {
    color: red;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

#loading-overlay {
    display: flex;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#loading-gif {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    z-index: 1001;
    user-select: none;
}