@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('fonts/Lexend-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('fonts/Lexend-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('fonts/Lexend-Bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Vazirmatn', 'Lexend', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(35deg, rgb(199, 226, 246) 0%, rgb(194, 229, 241) 25%, rgb(192, 231, 232) 50%, rgb(195, 231, 223) 75%, rgb(200, 231, 213) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.container {
    border-radius: 15px;
    background: #ffffff;
    text-align: center;
    padding: 20px 25px 5px 25px;
    width: 100%;
    max-width: 350px;
}

.container-big {
    border-radius: 15px;
    background: #ffffff;
    text-align: center;
    padding: 20px 25px 5px 25px;
    width: 100%;
    max-width: 550px;
}

h2 {
    font-size: 1.5rem;
    color: #1e2939;
    margin-bottom: 15px;
    font-weight: 600;
}

.language-selector {
    position: fixed;
    top: 15px;
    inset-inline-end: 15px;
    margin: 0;
    padding: 10px 15px 8px 15px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    z-index: 100;
}

.language-selector form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.language-selector .language-icon {
    font-size: 1rem;
    line-height: 1;
}

.language-selector label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.language-selector select {
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: #344152;
    padding: 0px;
}

.form-group {
    margin-bottom: 20px;
    text-align: start;
}

label {
    display: block;
    font-size: 0.9rem;
    color: #344152;
    margin-bottom: 10px;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    border-radius: 10px;
    height: 55px;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #afafaf;
    font-size: 1rem;
    outline: none;
    background: #f9fafb;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #43b7e9;
    background: #ffffff;
}

button[type="submit"] {
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    background: #43b7e9;
    color: #ffffff;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
}

button[type="submit"]:hover {
    background: #43b7e9;
}

button,
select,
input,
textarea {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    top: -100px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    background: #fff;
    padding: 8px 16px;
    z-index: 1000;
}

:focus-visible {
    outline: 2px solid #334b8d;
    outline-offset: 2px;
}

.error-bar {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    text-align: start;
    min-height: 55px;
    width: 100%;
    padding: 15px 15px;
    margin-bottom: 15px;
    border: 1px solid #cf1d1d;
    background: #ffd4d4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 1.5em;
    padding: 1em;
}

.services-icon {
    background-color: rgba(0, 0, 0, 0.11);
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    align-items: center;
    text-align: center;

    transition: transform 0.1s ease, opacity 0.1s ease;
    /* cursor: default; */
    padding: 1em;
}

.services-icon img {
    width: 5em !important;
    height: 5em !important;
    margin-bottom: 0.5em;
}

.services-icon span {
    color: #333;
    text-shadow: none;
    user-select: none;
}

.services-icon:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

p {
    color: #000000;
    display: block;
    padding: 0px 7px;
    margin-bottom: 15px;
    text-decoration: none;
    text-align: start;
}

a {
    color: #386a09;
    display: block;
    padding: 0px 7px;
    margin-bottom: 15px;
    text-decoration: none;
    text-align: start;
}

.success-bar {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    text-align: start;
    min-height: 55px;
    width: 100%;
    padding: 15px 15px;
    margin-bottom: 15px;
    border: 1px solid #14ac5e;
    background: #bcfdce;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    text-align: end;
}

.alert-close:hover {
    opacity: 1;
}

cap-widget {
    --cap-widget-width: 100%;
    --cap-border-radius: 10px;
    --cap-background: #f9fafb;
    --cap-border-color: #afafaf;
    --cap-font: 'Vazirmatn', 'Lexend', Roboto, Helvetica, Arial, sans-serif;
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

.disabled-note {
    color: #8a6d3b;
    display: block;
    padding: 0px 7px;
    margin-bottom: 15px;
    text-align: start;
    font-style: italic;
}