body {
    max-width: 2000px; /* Set the maximum width */
    margin: 0 auto;    /* Center the body horizontally */
    padding: 0;        /* Remove any default padding */
}

main{
    margin-bottom: 2rem;
}

.TableContainer {
    background: #F7F7FE;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-size: 20px;
    padding: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.TableContainer2 {
    background: #F7F7FE;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-size: 20px;
    padding: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.TableContainer3{
    background: #F7F7FE;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-size: 20px;
    padding: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.table tr:nth-child(even){background-color: #ffffff;}

.TableContainer2Mobile {
    display: none;
}
.TableContainer3Mobile {
    display: none;
}
.magicButtonContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 280px;
}

.CheckBoxContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 280px;
}

h1 {
    font-size: 48px;
    margin: 3rem;
    font-family: 'Inter', sans-serif;
}

h3{
    font-size: 20px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    margin-top: 1rem;

}

h4 {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;

}

span {
    font-weight: normal;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
  }

.DarkBlue {
    color: #5E56EE;
}


.controleContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1rem;
}

@media (max-width: 995px) {

    .TableContainer3Mobile {
        display: block;
        background: #F7F7FE;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 15px;
        font-size: 20px;
        padding: 1rem;
        width: 100%;
    }
    .TableContainer3 {
        display: none;
    }
    .TableContainer2 {
        display: none;
    }

    .TableContainer2Mobile {
        display: block;
        background: #F7F7FE;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 15px;
        font-size: 20px;
        padding: 1rem;
        width: 100%;
        margin-bottom: 1rem;

    }
}

@media (max-width: 768px) {
    .service-search-card-small{
        margin-top: 70px !important;
    }

    .service-search-card-form-group-small{
        flex-direction: column !important;
    }

    .service-search-card-form-group-small input[type="text"] {
        width: 100% !important;

    }

    .service-search-card-form-group-small input[type="number"] {
        width: 100% !important;

    }
    .service-search-card-form-group-xsmall input[type="text"] {
        width: 100% !important;

    }
    .CheckBoxContainer{
        display: flex;
        flex-direction: column;
    }
}

/* Search cards */
.service-search-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F7F7FE;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 360px;
    min-height: 550px;
    transition: order 0.2s, transform 0.2s;
}
.free{
    border: 1px solid #7E78F1;
}
.free-text{
    color: #7E78F1;
    font-style: italic;
    text-align: center;
}
.service-search-card form{
    height: 505px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.service-search-card-toprow{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    font-size: 25px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-top: 5px;
}

.service-search-card-toprow div {
    padding-right : 20px;
    height: 55px;
}

.service-search-card-form-group label {
    display: block;
    margin-bottom: 5px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.service-search-card-form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.service-search-card-form-group input[type="number"] {
    width: 100%;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.service-search-card-form-group .service-search-card-form-group-span {
    font-weight: 600;
}

.service-search-card-form-group-span {
    color: #5E56EE;
}
.service-search-card-small{
    margin-bottom: 40px;
    background-color: #F7F7FE;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    height: fit-content;
    transition: order 0.2s, transform 0.2s;
}

.service-search-card-form-group-small{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 5px;
}
.service-search-card-form-group-xsmall{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 5px;
}

.service-search-card-toprow-small{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 25px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.service-search-card-form-group-small input[type="text"] {
    width: 25%;
    margin: 5px;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.service-search-card-form-group-small input[type="number"] {
    width: 25%;
    margin: 5px;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.service-search-card-form-group-xsmall input[type="text"] {
    width: 25%;
    margin: 5px;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.service-search-card-form-group-small select{
    width: 25%;
    margin: 5px;
    padding: 8px;
    height: 52px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.termsContainer{
    margin-top: 10px;
}
.termsContainer p{
    text-align: center;
}

@media (max-width: 360px) {
    .service-search-card {
    width: 100%;
    height: 550px;
    }
}

/*Custom checkmark */

.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
  }

  .checkbox-container label {
    margin: 5px;
  }

.custom-checkbox-blue:hover {
    cursor: pointer;
}

  /* Hide the default checkbox */
.custom-checkbox-blue input[type="checkbox"] {
    display: none;
}

/* Style the custom box */
.custom-checkbox-blue .checkmark {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    border: 2px solid #5E56EE;
    position: relative;
}

/* Style the checkmark */
.custom-checkbox-blue .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #5E56EE;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Show the checkmark when the checkbox is checked */
.custom-checkbox-blue input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}

.checkmark{
    border-radius: 3px;
}
/* For most modern browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.hidden {
    display: none !important;
  }

  @media print {

    .MainCont{
        visibility: visible;
    }
    .MainCont {
        position: absolute;
        left: 10px;
        top: 10px;
        right: 10px;
        bottom: 10px;
        width: 100%;
    }
    .hideIfPrint{
        display: none;
    }
}