/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body style */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Header styles */
.header {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

/* Flag styling */
.language-selector {
    display: flex;
}

.flag {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.flag:hover {
    opacity: 0.8;
}

/* Container for the main content */
.container {
    text-align: center;
    background-color: #fff;
    padding: 40px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 500px;
}

.consent-label {
    white-space: nowrap;
    display:inline
}

/* Title */
.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Subtitle */
.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Button styling */
.signup-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #3c88db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background-color: #2a69a1;
}

/* Waiting list form */
.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form input,
.form textarea {
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    width: auto;
    transition: border-color 0.3s;
}

.consent-label {
    width: 200px; /* Resets the width for checkboxes */
    display: inline-block; /* Ensures proper inline alignment */
    margin: 0; /* Removes any unwanted margins */
}

.form input:focus,
.form textarea:focus {
    border-color: #3c88db;
}

.form button {
    padding: 12px 20px;
    font-size: 1.1rem;
    background-color: #3c88db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form button:hover {
    background-color: #2a69a1;
}

/* Response message */
#response-message {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4caf50;  /* success message color */
}

#response-message.error {
    color: #f44336;  /* error message color */
}
