@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Poppins:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff; /* Matches the white of the image */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}
.header-container {
    position: fixed; /* Keeps it at the top */
    top: 0; /* Aligns it to the top */
    left: 0;
    width: 100%; /* Full-width header */
    background: linear-gradient(to right, green, lightgreen);
    padding: 20px 0; /* Adjust padding for better spacing */
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensures it stays above other content */
}

/* Main container */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 900px;
    min-height: 60vh;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Form box styling */
.box {
    width: 50%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* Slight transparency to blend with the image */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-box {
    width: 100%;
}

.form-box header {
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}

/* Input fields */
.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.field input {
    height: 40px;
    font-size: 16px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

/* Button styles */
.btn {
    height: 40px;
    background: green;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    padding: 10px;
}

.btn:hover {
    background: darkgreen;
}

/* Right-side image */
.image-container {
    width: 50%;
    display: flex;
    justify-content: flex-end; /* Pushes image to the right */
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media screen and (max-width: 840px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .box, .image-container {
        width: 100%;
    }

    .image-container {
        justify-content: center;
        margin-top: 20px;
    }
}
.message{
    text-align: center;
    background: #f9eded;
    padding: 15px 0px;
    border: 1px solid #699053;
    border-radius: 5px;
    margin-bottom: 10px;
    color: red;
}
.messages{
    text-align: center;
    background: #f9eded;
    padding: 15px 0px;
    border: 1px solid #699053;
    border-radius: 5px;
    margin-bottom: 10px;
    color: green;
}