html, body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
}

body {
    font-family: Agrandir, Avenir, Montserrat, Corbel, source-sans-pro, sans-serif;
    font-size: 18px;
    color: #333; /* Darker text color for better contrast */
    background: radial-gradient(ellipse at center, rgba(255,254,234,1) 0%, rgba(255,254,234,1) 35%, #A7D8DE 100%); /* Slightly darker blue */
    overflow: hidden;
}

#logo-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10; /* Ensure logo is on top */
}

#logo {
    padding: 30px;
}

/*wave background start*/
.ocean {
    height: 3%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #015871;
}

.wave {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x;
    position: absolute;
    top: -140px;
    width: 6400px;
    height: 140px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}

    .wave:nth-of-type(2) {
        top: -115px;
        animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
        opacity: 1;
    }

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0, -25px, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }
}
/*wave background end*/

.primary-button { 
    background-color: cadetblue;
    padding: 5px 20px 5px 20px;
    border: 0px;
    border-radius: 5px;
    color: white;
}

.centered-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh; /* Use min-height */
    width: 100%;
    color: #1b396c;
}

.centered-box {
    background-color: ghostwhite;
    border: 4px solid #1b396c;
    border-radius: 5px;
    padding: 30px;
    width: 80%; /* Adjust width based on screen size */
    max-width: 400px; 
}

.form-field-outer {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-field-inner {
    display: flex;
}

.input-label {
    width: 30%; /* Or a suitable percentage */
}

.input-textbox {
    width: 60%; 
    border: 1px solid #1b396c;
    border-radius: 5px;
    padding: 3px 6px 3px 6px;
}

@media (max-width: 768px) {
    .form-field-inner {
        flex-direction: column; /* Ensure labels are above textboxes on mobile */
    }

    .input-label {
        width: 100%; /* Or a suitable percentage */
    }

    .input-textbox {
        width: 100%; 
    }
}

.input-validation {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    font-size: 16px;
    color: red;
}

.error-message {
    margin-top: 5px;
    font-size: 16px;
    color: red;
}

.buttons-container-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}