/* */
/*#region common */

@font-face {
    font-family: "IRANSansWeb";
    src: url(IRANSansWeb.woff) format("woff");
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: rgba(19, 15, 38, 1);
    --dark-color: #2D2D2D;
    --secondary-color: #FFF;
    --label-color: rgba(45, 45, 45, 0.5);
    --border-color: #88888850;
    --shadow-color: #999;
    --success-color: #0d690d;
    --danger-color: #da0d0d;
}

html {
}

body {
    font-family: "IRANSansWeb";
    direction: rtl;
    font-size: 14px;
    min-height: 100vh;
    background: #EAEAF3;
    display: grid;
    margin: 0 auto;
    width: 400px;
    box-shadow: var(--shadow-color) 1px 1px 5px;
    border-radius: 5px;
}

* {
    font-family: "IRANSansWeb";
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-align: center;
}

p {
    margin: 0;
    padding: 5px;
    font-size: 12px;
    color: var(--label-color);
}

label {
    padding: 0 10px;
    color: var(--label-color);
}

p.error-message {
    color: var(--danger-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--success-color);
}

section.register {
    padding: 0 5%;
}

/*#endregion */

/*#region button */

button {
    border: solid 1px var(--border-color);
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: 15px;
    align-content: center;
}

button > i {
}

button.outline {
    border: solid 1px var(--primary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

button.success {
    border: solid 1px var(--success-color);
    background-color: var(--success-color);
}

button.danger {
    border: solid 1px var(--danger-color);
    background-color: var(--danger-color);
}

button.cancel {
    border: solid 1px var(--border-color);
    background-color: var(--border-color);
    color: var(--label-color);
}

button:disabled {
    background-color: #99999980;
    cursor: default;
    color: #999;
}

/*#endregion */

/*#region input */

input, select {
    border: solid 1px var(--border-color);
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 18px;
    outline: none;
}

select {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==) no-repeat right #fff;
    -webkit-appearance: none;
    appearance: none;
    background-position-x: 15px;
}


input.ltr {
    direction: ltr;
}

input:focus, select:focus {
    border: solid 1px #0000ff80;
    outline: none;
}

/*#endregion */

/*#region article - intro */

.intro {
    display: grid;
    gap: 55px;
    padding: 5%;
}

.intro > img {
    width: 85px;
    justify-self: center;
}

.intro > div {
    align-items: center;
    display: grid;
}

.intro > div > img {
    justify-self: center;
    width: 40%;
    margin-bottom: 10px;
}

.intro > div > h2 {
    color: #2D2D2D;
    font-size: 24px;
    padding: 0;
    margin: 0;
}

.intro > div > p {
    color: #666;
    font-size: 16px;
    text-align: center;
}

.intro div.buttons {
    display: grid;
    gap: 10px;
}

.intro div.buttons > .btn-new {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/*#endregion */

/*#region .login */
header {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto max-content;
    justify-content: stretch;
    align-items: center;
    gap: 10px;
}

header > h2 {
    color: rgba(45, 45, 45, 1);
}

header > a {
    background-color: rgba(234, 234, 243, 1);
    width: 44px;
    height: 44px;
    font-size: 25px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    color: rgba(45, 45, 45, 0.4);
}
/*#endregion */

/*#region .home */

.home {
    justify-content: stretch;
    display: grid;
    background-color: #D4A017;
    height: 100vh;
    grid-template-rows: max-content auto;
}

.home .header {
    display: grid;
    gap: 15px;
    background-image: url(images/login-top-image.svg);
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    color: var(--secondary-color);
    padding-top: 20px;
    padding-bottom: 35px;
}

.home .header > img {
    margin: 0 auto;
    width: 85px;
}

.home .header > h2 {
    font-size: 22px;
    padding: 0;
    margin: 0;
    color: var(--secondary-color);
}

.home .header > div {
    display: grid;
    grid-template-columns: max-content auto max-content;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.home .header > div > img {
    width: 68px;
    height: 68px;
    background-color: #fff;
    border-radius: 50%;
}

.home .header > div > div {
    display: grid;
    gap: 5px;
    text-align: left;
}

.home .header > div > div > span {
    color: rgba(255, 255, 255, 0.5)
}

.home .header > div > a {
    background-color: rgba(42, 52, 78, 1);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    font-size: 24px;
    align-content: center;
    justify-content: center;
}

.home .body {
    background-color: var(--secondary-color);
    border-top-left-radius: 38px;
    border-top-right-radius: 38px;
    padding: 50px 25px 0 25px;
    display: grid;
    align-content: start;
    gap: 5px;
}

.home .body > a {
    padding: 10px 5px;
    display: grid;
    grid-template-columns: max-content auto max-content;
    gap: 10px;
    color: rgba(45, 45, 45, 1);
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}

.home .body > a > i {
    font-size: 20px;
    color: rgba(45, 45, 45, 1);
}

.home footer {
    text-align: center;
    padding: 15px 0;
    color: var(--label-color);
}

.home footer > a {
    color: var(--label-color);
    text-decoration: none;
}
/*#endregion */

/*#region .login */
.login {
    justify-content: stretch;
    display: grid;
    background-color: #D4A017;
}

.login .header {
    display: grid;
    justify-content: center;
    gap: 15px;
    background-image: url(images/login-top-image.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 220px;
    align-content: center;
}

.login .header > img {
    margin: 0 auto;
    width: 85px;
}

.login .header > h1 {
    font-size: 22px;
    padding: 0;
    margin: 0;
    color: var(--secondary-color);
}

.login .login-form {
    display: grid;
    gap: 10px;
    background-color: var(--secondary-color);
    border-top-left-radius: 38px;
    border-top-right-radius: 38px;
    padding: 60px 30px;
}


.login .login-form .new-member > a {
    color: rgba(244, 57, 57, 1);
    cursor: pointer;
}

.login .login-verify {
    background-color: var(--secondary-color);
    height: 100vh;
    display: grid;
    align-content: start;
    gap: 50px;
}

.login .login-verify > p {
    text-align: center;
    font-size: 14px;
}

.login .login-verify div {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto max-content;
    padding: 0 40px;
    justify-content: stretch;
    align-items: center;
    gap: 10px;
}

.login .login-verify div > h2 {
    color: rgba(45, 45, 45, 1);
}

.login .login-verify div > a {
    background-color: rgba(234, 234, 243, 1);
    width: 44px;
    height: 44px;
    font-size: 25px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    color: rgba(45, 45, 45, 0.4);
}

.login .login-verify > input {
    margin: 0 auto;
    width: 200px;
    font-size: 30px;
    letter-spacing: 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 0;
    border: 0;
    border-bottom: solid 1px var(--border-color);
}

.login .login-verify > span {
    justify-content: center;
    display: grid;
    grid-template-columns: max-content max-content;
    direction: ltr;
    font-size: 14px;
    color: rgba(244, 57, 57, 0.8)
}

.login .login-verify > button {
    margin: 0 auto;
    display: block;
}

/*#endregion */


/*#region article - loading */

div.loading {
    position: fixed;
    color: #fff;
    display: grid;
    justify-content: center;
    align-content: center;
    z-index: 99;
    font-size: 20px;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,.9);
}

/*#endregion */

/*#region div.form */
div.form {
    display: grid;
    gap: 10px;
    padding-top: 25px;
}

div.form > div {
    gap: 5px;
    border: 0;
    padding: 5px;
    position: relative;
    display: grid;
    padding-top: 20px;
}

div.form > div > label {
    position: absolute;
    right: 20px;
    top: -10px;
    color: rgba(45, 45, 45, 0.5);
    font-size: 16px;
}

div.form > div > span {
    padding: 5px
}

/*#endregion */

/*#region div.profile */

.profile {
    display: grid;
    gap: 10px;
    background-color: rgba(244, 244, 250, 1);
    padding: 0 5%;
}

.profile img {
    width: 85px;
    height: 85px;
    border: solid 1px var(--border-color);
    border-radius: 50%;
    margin: 0 auto;
}

.profile > div {
    display: grid;
}

.profile > div.col-2 {
    grid-template-columns: 3fr 2fr;
    gap: 15px;
}

.profile > div > div {
    display: grid;
    gap: 10px;
}

.profile > div > div > label {
    font-size: 16px;
    color: var(--label-color);
}

.profile > div > div > span {
    font-size: 18px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 15px 10px;
}

.profile > div > div > span.ltr {
    direction: ltr;
}

/*#endregion */


/*#region confirm-signout */
div.confirm-signout {
    display: grid;
    margin: auto;
    margin-top: 50%;
    gap: 30px;
    padding: 0 5%;
}

div.confirm-signout > div {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

div.confirm-signout > div > button {
    display: block;
}
/*#endregion */

/*#region laws */
.laws ol {
    margin: 0;
    padding: 0 25px 0 10px;
}

.laws ol > li {
    font-size: 13px;
    text-align: justify;
}
/*#endregion */

/*#region faq */
.faq ul {
    margin: 0;
    padding: 0 15px;
    display: grid;
    gap: 10px;
}

.faq ul > li {
    display: grid;
    border-radius: 10px;
    padding: 10px 20px 10px 5px;
    background-color: rgba(255, 255, 255, 1);
    position: relative;
}

.faq ul > li:after {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 2px;
    right: 15px;
    background-color: rgba(244, 57, 57, 1);
}

.faq ul > li > label {
    color: #555;
    font-size: 13px;
    cursor: pointer;
}

.faq ul > li > p {
    font-size: 13px;
    color: #111;
    text-align: justify;
    display: none;
}

.faq ul > li > p.show {
    display: block;
}


/*#endregion */

/*#region .sent-logs */
.sent-logs {
}

.sent-logs ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: grid;
    gap: 5px;
}

.sent-logs ul > li {
    padding: 10px;
    border-right: solid 3px var(--primary-color);
    border-bottom: solid 1px #88888822;
    background-color: #fff;
    margin: 2px 0;
    cursor: pointer;
}


.sent-logs ul > li > h2 {
    font-size: 16px;
}

/*#endregion */

/*#region footer */
footer {
    text-align: center;
}

/*#endregion */

/*#region responsive */

/* Monitor */
@media (min-width: 768px) and (max-width: 992px) {
    body {
        width: 60%;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 768px) {
    body {
        width: 75%;
    }
}

/* Phone */
@media (max-width: 576px) {
    body {
        box-shadow: none;
        width: 100%;
    }
}

/*#endregion */
