/* =========================================================
   ESTIMATE MODAL - VERSION COMPACTA
   Bootstrap 4.0.0-beta.2
   ========================================================= */


/* =========================================================
   GENERAL
   ========================================================= */

.estimate-modal {
    padding-right: 0 !important;
}

.estimate-modal .modal-dialog {
    width: 100%;
    max-width: 680px;
    margin: 20px auto;
}

.estimate-modal .modal-content {
    position: relative;

    border: 0;
    border-radius: 18px;

    background: #fff;

    overflow: hidden;

    box-shadow: 0 15px 50px rgba(0, 0, 0, .25);
}

.estimate-modal .modal-body {
    padding: 27px 34px 28px;
}


/* =========================================================
   CLOSE
   ========================================================= */

.estimate-close {
    position: absolute;

    top: 8px;
    right: 12px;

    z-index: 20;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #4a3478;

    font-size: 27px;
    font-weight: 300;
    line-height: 30px;

    cursor: pointer;

    opacity: .75;

    transition: all .2s ease;
}

.estimate-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.estimate-close:focus {
    outline: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.estimate-header {
    text-align: center;

    margin-bottom: 21px;
}

.estimate-header h2 {
    margin: 0;

    color: #382174;

    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
}

.estimate-line {
    width: 74px;
    height: 4px;

    margin: 12px auto 13px;

    border-radius: 10px;

    background: #37bfd0;
}

.estimate-header p {
    margin: 0;

    color: #555263;

    font-size: 16px;
    line-height: 1.4;
}


/* =========================================================
   FIELD
   ========================================================= */

.estimate-field {
    display: flex;
    align-items: flex-start;

    margin-bottom: 13px;
}


/* =========================================================
   ICON
   ========================================================= */

.estimate-icon {
    flex: 0 0 62px;

    width: 62px;
    height: 62px;

    margin-right: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f7f0fb;
}

.estimate-icon svg {
    width: 34px;
    height: 34px;

    fill: none;

    stroke: #3b1975;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   INPUT AREA
   ========================================================= */

.estimate-input-container {
    flex: 1;
    min-width: 0;
}

.estimate-input-container label {
    display: block;

    margin: 1px 0 5px;

    color: #332063;

    font-size: 17px;
    line-height: 1.2;

    font-weight: 700;
}


/* =========================================================
   INPUT
   ========================================================= */

.estimate-input-container .form-control {
    height: 49px;

    padding: 8px 14px;

    border: 1.5px solid #d7cbe3;

    border-radius: 9px;

    color: #34205f;

    background: #fff;

    font-size: 16px;

    box-shadow: none;

    transition: all .2s ease;
}

.estimate-input-container .form-control::placeholder {
    color: #8c8795;
    opacity: 1;
}

.estimate-input-container .form-control:focus {
    border-color: #39bdd0;

    box-shadow: 0 0 0 2px rgba(57, 189, 208, .12);
}


/* =========================================================
   OPTIONS
   ========================================================= */

.estimate-options {
    display: flex;

    width: 100%;

    gap: 10px;
}

.estimate-option {
    position: relative;

    flex: 1;

    margin: 0;

    cursor: pointer;
}

.estimate-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.estimate-option span {
    min-height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 7px 5px;

    border: 1.5px solid #d7cbe3;

    border-radius: 9px;

    background: #fff;

    color: #30205f;

    text-align: center;

    font-size: 15px;
    line-height: 1.15;

    transition: all .2s ease;
}

.estimate-option:hover span {
    border-color: #8e76ae;
}

.estimate-option input:checked + span {
    border-color: #35bdd0;

    color: #29aabd;

    background: #fcffff;

    box-shadow: inset 0 0 0 1px #35bdd0;
}


/* =========================================================
   CLEANING OPTIONS
   ========================================================= */

.cleaning-options {
    gap: 10px;
}

.cleaning-option span {
    min-height: 62px;

    gap: 6px;

    font-size: 14px;
}

.cleaning-option span svg {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    fill: none;

    stroke: #3a1975;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.cleaning-option input:checked + span svg {
    stroke: #35bcd0;
}

.other-dots {
    color: #3a1975;

    font-size: 22px;

    letter-spacing: 2px;
}


/* =========================================================
   SECURITY
   ========================================================= */

.estimate-security {
    display: flex;

    align-items: center;

    margin-top: 7px;

    color: #5b5765;

    font-size: 13px;

    line-height: 1.2;
}

.estimate-security svg {
    width: 17px;
    height: 17px;

    margin-right: 5px;

    flex-shrink: 0;

    fill: none;

    stroke: #3a1975;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.estimate-submit {
    width: 100%;

    height: 55px;

    margin-top: 4px;

    border: 0;

    border-radius: 30px;

    background: linear-gradient(
        90deg,
        #e42b89 0%,
        #c12ca6 48%,
        #7625c4 100%
    );

    color: #fff;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 7px 18px rgba(120, 38, 185, .22);

    transition: all .2s ease;
}

.estimate-submit:hover {
    transform: translateY(-1px);

    box-shadow: 0 10px 22px rgba(120, 38, 185, .28);
}

.estimate-submit:focus {
    outline: none;
}

.estimate-sparkles {
    margin-right: 7px;

    font-size: 22px;

    vertical-align: -1px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

    .estimate-modal .modal-dialog {
        max-width: calc(100% - 20px);

        margin: 10px auto;
    }

    .estimate-modal .modal-content {
        border-radius: 15px;
    }

    .estimate-modal .modal-body {
        padding: 24px 20px 20px;
    }

    .estimate-header {
        margin-bottom: 18px;
    }

    .estimate-header h2 {
        font-size: 27px;
    }

    .estimate-header p {
        font-size: 15px;
    }

    .estimate-line {
        width: 65px;
        height: 3px;

        margin: 10px auto 11px;
    }

    .estimate-field {
        margin-bottom: 12px;
    }

    .estimate-icon {
        flex: 0 0 52px;

        width: 52px;
        height: 52px;

        margin-right: 11px;

        border-radius: 10px;
    }

    .estimate-icon svg {
        width: 29px;
        height: 29px;
    }

    .estimate-input-container label {
        font-size: 16px;
    }

    .estimate-input-container .form-control {
        height: 45px;

        font-size: 15px;
    }

    .estimate-option span {
        min-height: 58px;

        font-size: 13px;
    }

    .cleaning-option span {
        min-height: 60px;

        font-size: 12px;
    }

    .cleaning-option span svg {
        width: 22px;
        height: 22px;
    }

    .estimate-submit {
        height: 52px;

        font-size: 17px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 480px) {

    .estimate-modal .modal-dialog {
        max-width: calc(100% - 10px);

        margin: 5px auto;
    }

    .estimate-modal .modal-content {
        border-radius: 13px;
    }

    .estimate-modal .modal-body {
        padding: 21px 14px 16px;
    }

    .estimate-close {
        top: 5px;
        right: 7px;

        width: 28px;
        height: 28px;

        font-size: 24px;
    }


    /* HEADER */

    .estimate-header {
        padding: 0 20px;

        margin-bottom: 15px;
    }

    .estimate-header h2 {
        font-size: 24px;
    }

    .estimate-header p {
        font-size: 13px;

        line-height: 1.35;
    }

    .estimate-line {
        width: 55px;

        margin: 8px auto 9px;
    }


    /* CAMPOS */

    .estimate-field {
        margin-bottom: 10px;
    }

    .estimate-icon {
        flex: 0 0 45px;

        width: 45px;
        height: 45px;

        margin-right: 8px;

        border-radius: 9px;
    }

    .estimate-icon svg {
        width: 25px;
        height: 25px;
    }

    .estimate-input-container label {
        font-size: 14px;

        margin: 0 0 4px;
    }

    .estimate-input-container .form-control {
        height: 40px;

        padding: 6px 11px;

        border-radius: 7px;

        font-size: 14px;
    }


    /* PROPERTY SIZE */

    .estimate-options {
        gap: 5px;
    }

    .estimate-option span {
        min-height: 52px;

        padding: 5px 2px;

        border-radius: 7px;

        font-size: 11px;
    }


    /* CLEANING */

    .cleaning-options {
        gap: 5px;
    }

    .cleaning-option span {
        min-height: 51px;

        padding: 4px 2px;

        gap: 3px;

        font-size: 10px;
    }

    .cleaning-option span svg {
        width: 18px;
        height: 18px;
    }

    .other-dots {
        font-size: 18px;
    }


    /* SECURITY */

    .estimate-security {
        margin-top: 5px;

        font-size: 10px;
    }

    .estimate-security svg {
        width: 14px;
        height: 14px;
    }


    /* BUTTON */

    .estimate-submit {
        height: 46px;

        margin-top: 2px;

        font-size: 14px;

        border-radius: 25px;
    }

    .estimate-sparkles {
        margin-right: 5px;

        font-size: 18px;
    }

}