body {
    font-family: Arial, sans-serif;
    background-color: #165d83; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px 0;
    box-sizing: border-box;
}

.container {
    background: #fff;
    
    max-width: 500px;
    min-width: 280px;
    /* Grows with its content: the second email field (1.0.0) no longer fits a fixed 458px. */
    min-height: 458px;

    width: 30vw; /* Use viewport width to ensure responsiveness */
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative; /* Add position relative for positioning children */
}

.logo {
    width: 250px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image horizontally */
}

.header {
    padding-bottom: 10px;
}

h2 {
    text-align: center;
    color: #333;
    font-size: 24px; /* Adjust font size */
}

label {
    display: block;
    margin-bottom: 10px; /* Add spacing between label and input */
    color: #333;
}

input[type="email"] {
    width: 55%; /* Adjust input width */
    padding: 10px; /* Add padding */
    border: 1px solid #ccc; /* Add border */
    border-radius: 5px; /* Add border radius */
    margin: 0 auto; /* Center horizontally */
    display: block; /* Ensure it behaves as a block element */
}

button[type="submit"] {
    width: 80px; /* Adjust button width */
    padding: 10px;
    font-size: 15px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px; /* Add spacing between input and button */
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center horizontally */
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Block: Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ff0000;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Element: Popup Close Button */
.popup__close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}






.email-hint {
    display: block;
    margin: 4px auto 16px;
    max-width: 80%;
    color: #555;
}
