@font-face {
    font-family: vazir;
    src: url(../fonts/Vazirmatn-Regular.woff2)
}

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

body {
    background: #fff;
    height: 100vh
}

.container {
    display: flex;
    height: 100vh
}

.left {
    width: 50%;
    padding: 40px 60px;
    display: flex;
    flex-direction: column
}

.login-box {
    max-width: 370px;
    margin: auto;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 50px
}

.brand-icon {
    height: 40px
}

.login-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px
}

.subtext {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.password-row .forgot {
    font-size: 12px;
    color: #555;
    text-decoration: none
}

.login-btn {
    width: 100%;
    background: #1e2749;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 25px
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    font-size: 14px;
    color: #777
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e5e5e5
}

.divider::before {
    left: 0
}

.divider::after {
    right: 0
}

.github-btn {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px
}

.gh-icon {
    width: 18px;
    height: 18px
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px
}

.signup-text a {
    color: #000;
    text-decoration: none
}

.right {
    width: 50%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center
}

.placeholder-box {
    width: 200px;
    height: 200px;
    border: 2px dashed #d0d0d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .5
}

.placeholder-icon {
    font-size: 32px
}

@media (max-width: 900px) {
    .right {
        display: none
    }

    .left {
        width: 100%
    }
}

@font-face {
    font-family: 'peyda';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url(../fonts/PeydaWebFaNumRegular.woff2) format("woff2"), url(../fonts/PeydaWebFaNumRegular.woff) format("woff"), url(../fonts/PeydaWebFaNumRegular.woff) format("truetype")
}

main {
    padding: 12px;
    border: 2px solid #323232;
    width: 100%;
    max-width: 600px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px
}

.example h1 {
    color: #323232;
    font-size: 32px
}

.example p {
    color: #323232;
    margin: 10px 0 16px;
    font-size: 22px
}

.example .btns {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px
}

.example button {
    padding: 12px;
    color: #F7F7F7;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    width: calc(50% - 6px)
}

.example .error-btn {
    background-color: #9b0918
}

.example .success-btn {
    background-color: #28a745
}

.saber-toasts-containers {
    position: fixed;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    direction: rtl
}

.saber-toasts-container-bottom-right {
    right: 20px;
    bottom: 20px
}

.saber-toasts-container-top-right {
    right: 20px;
    top: 20px;
    flex-direction: column-reverse
}

.saber-toasts-container-bottom-left {
    left: 20px;
    bottom: 20px
}

.saber-toasts-container-top-left {
    left: 20px;
    top: 20px;
    flex-direction: column-reverse
}

.saber-toast {
    width: 320px;
    height: 80px;
    background-color: #FFF;
    box-shadow: 0 0 10px #0000001A;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    display: flex;
    align-items: stretch;
    gap: 12px
}

.saber-toast .right-border {
    width: 6px;
    border-radius: 0 10px 10px 0;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -o-border-radius: 0 10px 10px 0;
    margin: 0 0 0 2px
}

.saber-toast .state-icon-holder {
    width: 40px;
    display: grid;
    place-items: center
}

.saber-toast .state-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%
}

.saber-toast .state-icon svg {
    width: 50%
}

.saber-toast .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    flex: 1
}

.saber-toast .title {
    font-size: 12px
}

.saber-toast .text {
    font-size: 13px;
    color: #18181A;
    font-weight: 700
}

.saber-toast .close-icon-holder {
    padding: 12px
}

.saber-toast .close-icon {
    width: 22px;
    height: 22px;
    background-color: #F1F1F1;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer
}

.saber-toast .close-icon svg {
    width: 70%;
    color: #00000080
}

@media (max-width: 520px) {
    .saber-toasts-containers {
        width: 240px
    }

    .saber-toast {
        width: 240px;
        height: 66px;
        gap: 8px
    }

    .saber-toast .state-icon-holder {
        width: 30px
    }

    .saber-toast .state-icon {
        width: 30px;
        height: 30px
    }

    .saber-toast .title {
        font-size: 11px
    }

    .saber-toast .text {
        font-size: 12px
    }

    .saber-toast .text-container {
        gap: 3px
    }

    .saber-toast .close-icon-holder {
        padding: 8px
    }

    .saber-toast .close-icon {
        width: 18px;
        height: 18px
    }
    .left {
        padding: 40px 20px;
    }
}
