body {
    font-family: 'Roboto', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: url('ayvenspc.png') no-repeat center center fixed;
    background-size: cover;
    font-size: 18px; /* Increased font size */
}

.invite-form {
    width: 350px; /* Increased width */
    padding: 25px; /* Increased padding */
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
}

.form-group {
    margin-bottom: 20px; /* Increased margin */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label {
    margin-right: 10px;
    flex: 1;
    font-size: 16px; /* Increased font size for labels */
}

input[type="text"],
input[type="email"] {
    width: calc(100% - 80px);
    padding: 8px;
    border: 1px solid #0f3548;
    border-radius: 20px;
    box-sizing: border-box;
    background-color: #74d2d2;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #0f3548;
}

input[type="radio"]:checked {
    accent-color: #74d2d2;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 2px solid #0f3548;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

input[type="radio"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #74d2d2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-group-container {
    text-align: center;
    margin-bottom: 15px;
}

.radio-group-container label {
    display: block;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: center; /* Center-aligns items within the radio group */
}

.radio-item {
    display: flex;
    align-items: center; /* Center-aligns label and radio button in each item */
}

.radio-item label {
    line-height: 1; /* Match label line-height to align with the radio button */
    margin: 0px; /* Space between radio button and label */
    display: inline-block; /* Ensure label doesn't shrink to text size */
    margin-right: 30px;
}

.radio-item input[type="radio"] {
    margin: 0; /* Remove any default margins */
    vertical-align: middle; /* Keep button aligned with the label text */
    margin-right: 10px;
}

.submit-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    background-color: #0f3548;
    color: white;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #1f4a5c;
}

#timer {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #0f3548;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

#expired-message {
    display: none;
    font-size: 30px;
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Media query for mobile screens */
@media (max-width: 600px) {
    body {
        background: url('ayvensmb.png') no-repeat center center fixed;
        background-size: cover;
    }

    .invite-form {
        width: 90%; /* Adjust width for mobile */
        padding: 15px; /* Adjust padding for mobile */
        margin-top: 30px; /* Add top margin to move elements lower */
    }

    label {
        margin-bottom: 5px; /* Adjust margin for mobile */
        margin-right: 0; /* Remove right margin */
    }

    input[type="text"],
    input[type="email"] {
        width: 80%; /* Full width for mobile */
    }

    .radio-item {
        margin-bottom: 10px; /* Add space between radio items */
    }

    .submit-button {
        padding: 15px; /* Adjust padding for mobile */
    }
}
