/* body {
    font-family: "Poppins", sans-serif;
} */

h1 {
    text-align: center;
    color: #2A5991;
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-group .field {
    flex: 1;
    width: 100%;
}

label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    color: #607D8B;
    letter-spacing: .5px;
}

label span {
    color: red;
}

input[type="text"],
input[type="date"],
textarea,
select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 1px;
    text-indent: 5px;
    font-size: 18px;
    outline-style: none;
}

input[type="text"]::placeholder,
input[type="date"]::placeholder,
textarea::placeholder,
select::placeholder {
    letter-spacing: 1px
}

input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #046bd2;
    background: #F8F8F8;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    margin-left: auto;
    padding: 12px 32px;
    background-color: #549ef7;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2A5991;
}

@media (max-width: 768px) {
    form {
        padding: 15px;
    }

    .form-group {
        flex-direction: column;
    }
}

/* Spinner Styles */
.loading-icon {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #549ef7; /* Blue */
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}
/* Modal Styles */
.thank-you-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}

.close-icon:hover {
    color: red;
}

datalist {
    position: absolute;
    background-color: white;
    border: 1px solid blue;
    border-radius: 0 0 5px 5px;
    border-top: none;
    font-family: sans-serif;
    width: 350px;
    padding: 5px;
  
  }
  
  option{
    background-color: white;
    padding: 4px;
    color: blue;
    margin-bottom: 1px;
     font-size: 18px;
    cursor: pointer;
  }
  option:hover, .active{
    background-color: lightblue;
  }