﻿:root {
    --Primary: #59C5B9;
    --Secondary: #607D8B;
    --Notice: #FD6466;
    --Gray: #9D9D9D;
}

* {
    box-sizing: border-box
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input {
    border: 0px;
    border: 1px solid var(--Gray);
}

    input[type=text], input[type=tel] {
        height: 44px;
        padding: 0px 8px 0px 8px;
        line-height: 44px;
    }

.parts {
    display: flex;
    align-items: center;
    direction: ltr;
}
    .parts * {
        font-size: 14px;
    }

    .parts input {
        display: inline-block;
        width: 60px;
        text-align: center;
        direction: ltr;
    }
    .parts .part1 {
        width: 70px;
    }
    .parts .part2 {
        margin: 0px auto;
    }
    .parts .part3 {
        width: 83px;
    }
    .parts .dash {
        display: inline-block;
        width: 13px;
        height: 2px;
        margin: 0px 9px 0px 9px;
        background-color: white;
    }

.providedService {
    position: relative;
    max-width: 760px;
    margin: 0px auto;
}
    .providedService .topWarning {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        margin: 0px auto;
        display: none; /* flex */
        max-width: 760px;
        padding: 12px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 4px;
        background: var(--Notice);
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
        color: white;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        line-height: 22px;
        z-index: 1;
    }

        .providedService .topWarning span {
            margin: 0 auto;
        }

        .providedService .topWarning .close {
            margin-left: 4px;
            cursor: pointer;
        }

    .providedService .topSuccess {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        margin: 0px auto;
        display: none; /* flex */
        max-width: 760px;
        padding: 12px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 4px;
        background: var(--Secondary);
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
        color: white;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        line-height: 22px;
        z-index: 1;
    }

        .providedService .topSuccess span {
            margin: 0 auto;
        }

    .providedService .topMessage {
        text-align: justify;
    }

    .providedService .serviceType {
        max-width: 355px;
        margin: 40px auto 8px auto;
    }
        .providedService .serviceType select {
            width: 100%;
            height: 44px;
        }

    .providedService .serviceMessage1 {
        display: none;
        margin-bottom: 40px;
        text-align: justify;
    }
    .providedService .serviceMessage2 {
        display: none;
        margin-bottom: 40px;
        text-align: justify;
    }
    .providedService .serviceMessage3 {
        display: none;
        margin-bottom: 40px;
        text-align: justify;
    }

    .providedService .form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: start;
        justify-content: space-between;
        align-items: start;
        row-gap: 16px;
        column-gap: 0px;
        margin: 0px auto;
    }
        .providedService .form input {
            direction: ltr;
        }


        .providedService .form > div {
            flex: 50%;
            max-width: 340px;
            min-height: 44px;
        }

            .providedService .form > div span.warning {
                display: none;
                color: var(--Notice);
            }
            .providedService .form > div span.warning br {
                display: none;
            }

            .providedService .form > div input[type=text], .providedService .form > div input[type=tel] {
                border: 1px solid var(--Gray);
            }
                .providedService .form > div input[type=text]:not([class^="part"]), .providedService .form > div input[type=tel]:not([class^="part"]) {
                    width: 100%;
                }

            .providedService .form > div input[type=tel], .providedService .form > .ownerNationalCode input, .providedService .form > .chassisNo input, .providedService .form > .companyNationalCode input {
                text-align: center;
            }

        .providedService .form .userType {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex: 100%;
            max-width: unset;
            direction: ltr;
            margin-bottom: 24px;
            min-height: unset;
            order: -1 !important;
        }
            .providedService .form .userType label {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 4px;
            }

        .providedService .form .ownerFirstName input, .providedService .form .ownerLastName input, .providedService .form .companyName input {
            direction: rtl;
        }
        .providedService .form .companyName {
            text-align: center;
        }
        .providedService .form .companyName div {
            display: inline-block;
            max-width: 340px;
            width: 100%;
            text-align: right;
        }
        .providedService .form .companyName input {
            max-width: 340px;
        }
        .providedService .form > .file {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
        }
            .providedService .form > .file span {
                display: flex;
                max-width: 273px;
                align-items: center;
                line-height: 22px;
                direction: rtl;
            }
            .providedService .form > .file .camera {
                cursor: pointer;
                z-index: 1;
            }
            .providedService .form > .file input[type="file"] {
                position: absolute;
                display: none;
                top: 0px;
                left: 0px;
                width: 44px;
                height: 44px;
                z-index: 0;
                opacity: 0;
                direction: ltr;
            }
            .providedService .form > .file .warning {
                width: 100%;
                color: var(--Notice);
            }
            .providedService .form > .file .loading {
                display: none;
            }
            .providedService .form > .file .uploadedImage {
                width: 100%;
                text-align: center;
            }
                .providedService .form > .file .uploadedImage img {
                    display: none;
                    max-width: 280px;
                    max-height: 280px;
                }
            .providedService .form > .file .savedFileName {
                display: none;
            }

    .providedService .captchaArea {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        max-width: 340px;
        margin: 16px auto 0px auto;
    }
        .providedService .captchaArea .captcha {
            display: flex;
            flex-direction: column;
        }
        .providedService .captchaArea .captcha > div {
            display: flex;
            background-color: #FFFFFF;
        }
            .providedService .captchaArea .captcha .refresh {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 64px;
                height: 64px;
                background: #345758;
                cursor: pointer;
            }
                .providedService .captchaArea .captcha .refresh .reload {
                    width: 24px;
                    height: 24px;
                    stroke: #FFFFFF;
                }
                    .providedService .captchaArea .captcha .refresh .reload.rotate {
                        animation: flipAndSpin 1s linear infinite;
                    }
            .providedService .captchaArea .captcha .image {
                display: none;
                width: 276px;
                height: 64px;
            }
        .providedService .captchaArea .captchaCode {
            width: 100%;
            text-align: right;
        }
            .providedService .captchaArea .captchaCode input {
                width: 100%;
                text-align: center;
            }

    .providedService .buttonArea button.disabled {
        opacity: 0.25;
        background: var(--Primary);
        cursor: default;
    }
    .providedService .buttonArea {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 56px;
        margin-top: 40px;
    }

        .providedService .buttonArea .btnSendRequest {
            max-width: 340px;
            width: 100%;
            height: 56px;
            color: white;
            font-size: 24px;
            font-weight: bold;
            border: 1px solid var(--Secondary);
        }

        .providedService .buttonArea .loading {
            display: none;
        }

@media (max-width: 780px) {
    .providedService .topWarning {
        margin: 0px 20px;
        max-width: unset;
        width: unset
    }
    .providedService .topSuccess {
        margin: 0px 20px;
        max-width: unset;
        width: unset
    }
}

@media (max-width: 730px) {
    .parts .part1 {
        width: 62px;
    }
    .parts .part2 {
        width: 48px;
    }
    .parts .part3 {
        width: 76px;
    }
    .parts .dash {
        width: 8px;
        margin: 0px 4px 0px 4px;
    }
    .parts .part4 {
        width: 62px;
    }

    .providedService .serviceType {
        max-width: 280px;
    }

    .serviceMessage {
        max-width: 280px;
        margin: 0px auto;
    }

    .providedService .form {
        flex-direction: column;
        align-content: unset;
        justify-content: unset;
    }

        .providedService .form > div {
            width: 100%;
            max-width: 280px;
            flex: 100%;
            margin: 0px auto;
        }
            .providedService .form > div span.warning br {
                display: unset;
            }
}
@media (max-width: 377px) {
    .parts {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        justify-content: space-between;
    }
        .parts * {
            display: flex;
            margin: unset !important;
        }
}
@media (max-width: 360px) {
    .providedService .topWarning .close {
        position: absolute;
        top: 0px;
        left: 0px;
        margin-left: unset;
    }
    .providedService .topWarning span {
        margin: 0px 25px;
    }
    .providedService .topSuccess span {
        margin: 0px 25px;
    }
}
