﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "vazir";
    src: url("../fonts/Vazir-FD.ttf");
}

body {
    direction: rtl;
    font-family: vazir;
    font-size: 12px;
}

    body > div {
        width: 80vw;
        margin: 3rem auto 0rem;
    }

        body > div > img {
            width: 100%;
        }

.form {
    border: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30vw;
    margin: 0rem auto;
    border-radius: 10px;
}

    .form .form-title {
        width: 100%;
        padding: 0.5rem;
        margin: 0 auto;
    }

        .form .form-title h1 {
            color: #252525;
            font-size: 18px;
        }

    .form .form-item {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        width: 100%;
        padding: 0.5rem;
        margin: 0.5rem auto;
    }

        .form .form-item input {
            padding: 0.5rem;
            font-size: 11px;
            font: inherit;
            border: 1px solid #ececec;
            border-radius: 5px;
            outline: none;
        }

            .form .form-item input:focus-visible {
                border: 1px solid #EA5202;
            }

    .form .form-actions {
        display: flex;
        justify-content: space-evenly;
        flex-direction: row;
        width: 100%;
        padding: 0.5rem;
        margin: 0.5rem auto;
    }

        .form .form-actions > div {
        }

            .form .form-actions > div > button,
            .form .form-actions > button {
                padding: 0.5rem;
                width: 20vw;
                font: inherit;
                cursor: pointer;
            }

                .form .form-actions > div > button.btn-primary,
                .form .form-actions > button.btn-primary {
                    border-radius: 5px;
                    border: 1px solid #EA5202;
                    color: #fff;
                    background-color: #EA5202;
                }

                .form .form-actions > div > button.btn-default,
                .form .form-actions > button.btn-default {
                    background-color: #fff;
                    border-radius: 5px;
                    border: 1px solid #EA5202;
                    color: #EA5202;
                }


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .form {
        width: 90vw;
    }

        .form .form-actions div button {
            width: 30vw;
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .form {
        width: 60vw;
    }

        .form .form-actions div button {
            width: 20vw;
        }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    body > div {
        width: 30vw;
        margin: 3rem auto 0rem;
    }

        body > div > img {
            width: 100%;
        }

    .form .form-actions > div > button,
    .form .form-actions > button {
        padding: 0.5rem;
        width: 10vw;
        font: inherit;
        cursor: pointer;
    }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .form {
        width: 30vw;
    }

        .form .form-actions div button {
            width: 10vw;
        }
}
