body {
    background: linear-gradient(135deg, #4a90e2 10%, #000 90%);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top to allow scrolling */
    min-height: 100vh; /* Use min-height instead of height to prevent the dip */
    margin: 0;
    color: #fff;
    overflow-y: scroll; /* Allow vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding-top: 20px; /* Add some padding at the top */
    box-sizing: border-box; /* Include padding and border in the element's width and height */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

form {
    width: 60%;
    max-width: 600px; /* Optional: max-width for better responsiveness */
    background-color: rgba(0, 0, 0, 0.85); /* Dark background with transparency */
    padding: 40px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative; /* Relative positioning to contain absolute elements like suggestions */
    margin: 20px auto; /* Center the form and add some vertical margin */
    overflow: hidden; /* Prevent any overflow due to child elements */
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
}

.form-row {
    display: flex;
    gap: 20px; /* Space between form groups */
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* Relative positioning to align suggestions properly */
    padding-top: 10px; /* Add padding to the top of each form group */
}

label {
    margin-bottom: 8px;
    color: #aaaaaa; /* Softer gray for labels */
    font-weight: bold;
}

input, select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    background-color: rgba(255, 255, 255, 0.1); /* Transparent background */
    color: #ffffff;
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

input::placeholder {
    color: #bbbbbb; /* Light gray placeholder text */
}

input:focus, select:focus {
    border-color: #4a90e2; /* Blue border on focus */
    background-color: rgba(255, 255, 255, 0.2); /* Slightly less transparent on focus */
    outline: none;
}

button {
    width: 100%; /* Full width button */
    padding: 18px; /* Increased padding for a larger button */
    border-radius: 8px;
    border: none;
    background-color: #4a90e2; /* Bright blue background */
    color: #ffffff;
    font-size: 18px; /* Increased font size */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 20px; /* Margin to separate it from other content */
}

button:hover {
    background-color: #357acb; /* Darker blue on hover */
}

#suggestions {
    display: none; /* Hide suggestions by default */
    background-color: rgba(0, 0, 0, 0.9); /* Match background to form */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
    width: calc(100% - 24px); /* Align width with input */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    top: 100%; /* Position below the input field */
    left: 0;
    margin-top: 5px; /* Small gap from the input field */
}

#suggestions .suggestion {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#suggestions .suggestion:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight highlight on hover */
    color: #4a90e2;
}







#plan {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

#plan option {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #000000d9;
}

#plan option:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight highlight on hover */
    color: #4a90e2;
}



.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #aaaaaa;
}

.form-footer a {
    color: #4a90e2;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

#btn{
    width: 100%;
    cursor: pointer;
}

#log {
    display: block;
    margin-top: 10px; /* Adjust spacing as needed */
    text-align: center;
    color: red;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0 0px; /* Adjust padding to prevent the black bar */
        min-height: 100vh; /* Ensure full viewport height */
        box-sizing: border-box; /* Include padding and border in the element's width and height */
    }

    form {
        width: 100%; /* Adjusted to use full width on smaller screens */
        padding: 20px;
        max-width: 100%; /* Ensures the form doesn't exceed the screen width */
        margin: 0 auto; /* Center the form */
        overflow: hidden; /* Prevent any overflow due to child elements */
        border-radius: 0;
    }

    .form-row {
        flex-direction: column;
    }

    button {
        font-size: 16px; /* Adjusted font size for smaller screens */
        padding: 14px;
    }

    p{
        font-size: 10px;
        margin-top: 0;
    }

    #theForm{
        width: 100%;
        height: 100vh;
       /* justify-content: center;*/
        
        
    }
}
