/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-start; /* Center horizontally */
    align-items: flex-start; /* Center vertically */
}

/* Modal styles */
.modal {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    padding: 20px 30px; /* Increased horizontal padding for better space */
    width: 320px; /* Adjusted for better spacing */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slightly bigger shadow */
    position: relative;
    text-align: center;
}

/* Close button styles */
.close-button {
    position: absolute;
    top: 15px; /* Increased top distance for better spacing */
    right: 15px; /* Increased right distance for better spacing */
    border: none;
    background: none;
    font-size: 24px; /* Slightly bigger close icon */
    cursor: pointer;
}

/* Modal header styles */
.header {
    margin: 0 0 15px; /* Increased bottom margin */
    font-size: 20px; /* Increased font size */
    font-weight: bold;
    line-height: 1.4;
}

/* Subtitle text styles */
.sub-text {
    font-size: 15px; /* Slightly bigger text for readability */
    color: #555;
    margin-bottom: 20px; /* Added margin to separate from the form */
}

/* Input field styles */
.input {
    width: 100%;
    padding: 12px; /* Increased padding for better touch area */
    margin: 12px 0; /* Increased margin for spacing */
    border-radius: 6px; /* Slightly larger border radius */
    border: 1px solid #ccc;
    font-size: 14px; /* Increased font size for better readability */
}

/* Submit button styles */
.submit-button {
    width: 100%;
    padding: 12px; /* Increased padding */
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 6px; /* Slightly larger border radius */
    cursor: pointer;
    font-weight: bold;
    font-size: 16px; /* Increased font size */
}

/* "No thanks" button styles */
.no-thanks {
    margin-top: 15px; /* Increased top margin for separation */
    border: none;
    background: none;
    color: #1a0dab;
    cursor: pointer;
    font-size: 16px; /* Increased font size */
}

/* Footer text styles */
.footer-text {
    margin-top: 15px; /* Increased top margin */
    font-size: 14px; /* Slightly larger font for better readability */
    color: #777;
    line-height: 1.5;
}
