
  @font-face {

    font-family: "vazir-titr";

    src: url("../../assets/fonts/Vazir-Bold.ttf") format('truetype');

    font-weight: normal;

    font-style: normal;

  }



* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #effbf8;
    color: #183b3a;
    font-family: "vazir-titr";
    line-height: 1.9
}

.wrap {
    max-width: 980px;
    margin: auto;
    padding: 25px 14px 60px
}

header {
    text-align: center;
    padding: 25px 10px
}

h1 {
    color: #087f78;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin: 8px 0
}

header p {
    color: #53716f
}

.badge {
    display: inline-block;
    background: #c6f2e7;
    color: #087f78;
    border-radius: 30px;
    padding: 2px 18px
}

.progress {
    max-width: 600px;
    margin: 18px auto;
    color: #087f78
}

.progress div {
    height: 9px;
    background: #d5ece7;
    border-radius: 8px;
    overflow: hidden
}

.progress i {
    display: block;
    height: 100%;
    width: 0;
    background: #18ad91;
    transition: .3s
}

.card {
    background: #fff;
    border: 1px solid #d5eee9;
    border-radius: 18px;
    padding: 20px;
    margin: 16px 0;
    box-shadow: 0 8px 25px #118b7910
}

.question h2 {
    font-size: 1.05rem;
    margin: 0 0 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.question h2 b {
    background: #e1f7f1;
    color: #087f78;
    border-radius: 50%;
    min-width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px
}

.option {
    display: block;
    margin: 9px 0;
    cursor: pointer
}

.option input {
    position: absolute;
    opacity: 0
}

.option span {
    display: block;
    border: 1px solid #cce7e2;
    border-radius: 11px;
    padding: 9px 14px;
    transition: .2s
}

.option input:checked+span {
    background: #dff8f0;
    border-color: #19a98f;
    box-shadow: 0 0 0 2px #b6ecdf
}

.option input:focus+span {
    outline: 3px solid #9ee4d5
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px
}

.grid label {
    font-weight: bold;
    color: #35615e
}

.grid input {
    display: block;
    width: 100%;
    margin-top: 4px;
    border: 1px solid #c9e4df;
    border-radius: 10px;
    padding: 11px;
    font: inherit
}

.submit {
    width: 100%;
    border: 0;
    border-radius: 13px;
    background: #078b7c;
    color: #fff;
    padding: 14px;
    font: inherit;
    font-weight: bold;
    cursor: pointer
}

.submit:hover {
    background: #056e64
}

.hint {
    color: #66817e
}

.success {
    text-align: center;
    margin-top: 80px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

@media(max-width:600px) {
    .wrap {
        padding: 10px 9px 35px
    }

    .card {
        padding: 15px;
        border-radius: 14px
    }

    .question h2 {
        font-size: .98rem
    }
}

.status-card {
    text-align: center;
    margin: 40px auto;
    max-width: 680px
}

.status-card.success {
    border-color: #8cdcc9;
    background: #f5fffc
}

.status-card.error {
    border-color: #efb0a8;
    background: #fff8f7
}

.status-link {
    display: block;
    text-decoration: none;
    margin-top: 20px
}

.req {
    color: #c54f43
}

.is-missing {
    border-color: #e08d82;
    box-shadow: 0 0 0 3px #f4c9c2
}

.submit:disabled {
    opacity: .65;
    cursor: wait
}

code {
    direction: ltr;
    display: inline-block
}