
/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

body {
    font-family: "Roboto", sans-serif;
    background-color: #f0f0ff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
}

.quote-form {
    display: flex;
    flex-direction: column;
}

h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #342C6D;
}

p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-group div {
    width: 48%;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #342C6D;

}

.error {
    border: 1px solid red !important;
}

.black_theme_color {
    color: #282828;
}

.f_normal {
    font-weight: normal;
}

.ml_half_rem{
    margin-left: .51rem;
}

.white-space-nowrap {
    white-space: nowrap;
}

.d-flex-forms {
    display: flex;
}

.clander_bg {
    position:relative
}

.clander_bg::before {
    content: '\f133'; /* Font Awesome code for the 'bell' icon */
    font-family:"Font Awesome 5 Pro"; /* Ensure you're using the correct Font Awesome version */
    font-weight: 900; /* For solid icons */
    font-size: 18px;
    color: #28303F; /* Icon color and transparency */
    position: absolute;
    top: 40%;
    left: 93%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    outline: unset;
}

select {
    background:transparent;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder,
select::placeholder {
    color: #282828; /* Choose the color you want */
    opacity: 0.5;  /* Firefox requires opacity to be set */
}

/* Remove spinner in Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Remove spinner in Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}


.file-upload {
    display: block;
    text-align: center;
    width:100% !important;
    font-size: 12px;
}

.file-upload .file-select {
    display: block;
    border: 1px solid #dce4ec;
    color: #FFFFFF;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    width: 100%;
    text-align: left;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
    border-radius:6px;
}

.file-upload .file-select .file-select-button {
    background: #1D215B;
    padding: 0 10px;
    display: inline-block;
    height: 40px;
    width:fit-content;
    line-height: 40px;
    border-radius: 2px;
}

.file-upload .file-select .file-select-name {
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
    color: #000000;
}

.file-upload .file-select:hover {
    border-color: #34495e;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.file-upload .file-select:hover .file-select-button {
    background: #34495e;
    color: #FFFFFF;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.file-upload.active .file-select {
    border-color: #1a1b40;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.file-upload.active .file-select .file-select-button {
    background: #1d215b;
    color: #FFFFFF;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.file-upload .file-select input[type=file] {
    z-index: 100;
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.file-upload .file-select.file-select-disabled {
    opacity: 0.65;
}

.file-upload .file-select.file-select-disabled:hover {
    cursor: default;
    display: block;
    border: 2px solid #dce4ec;
    color: #34495e;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    text-align: left;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.file-upload .file-select.file-select-disabled:hover .file-select-button {
    background: #dce4ec;
    color: #666666;
    padding: 0 10px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.file-upload .file-select.file-select-disabled:hover .file-select-name {
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
}

textarea {
    height: 100px;
}

input[type="file"] {
    border: none;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.radio-group label {
    font-weight: normal;
}

button {
    padding: 15px;
    background-color: #342C6D;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #342C6D;
}

/* Pop up */

.form_popup_main {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */

}

.popup {
    width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
}

.popup h1 {
    color: #3b3b8b;
    font-size: 24px;
    margin-bottom: 20px;
}

.popup p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.popup button {
    background-color: #3b3b8b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #4a4a9a;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .form-group div {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px;
    }

    h2 {
        font-size: 1.25rem;
    }

    button {
        padding: 12px;
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        padding: 8px;
    }
}