/* ========== فونت ========== */
@font-face {
    font-family: "vazir";
    src: url(../font/vazir/Vazir-FD-WOL.woff2) format("woff2"),
        url(../font/vazir/Vazir-FD-WOL.woff) format("woff"),
        url(../font/vazir/Vazir-FD-WOL.ttf) format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "vazir";
    src: url(../font/vazir/Vazir-Bold-FD-WOL.woff2) format("woff2"),
        url(../font/vazir/Vazir-Bold-FD-WOL.woff) format("woff"),
        url(../font/vazir/Vazir-Bold-FD-WOL.ttf) format("truetype");
    font-weight: bold;
}

:root {
    --ff-primary: "vazir", sans-serif;
}

body {
    font-family: var(--ff-primary);
    background-color: #f5f5f3;
}

.title {
    text-align: center;
    margin-top: 16px;
    font-weight: 700;
}

.header-form .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25) !important;
}

.header-form .form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25) !important;
}


.search-bar {
    display: flex;
    background-color: #e6e6e6;
    border-radius: 35px;
    border: none !important;
    text-align: center;

}

.search-bar .form-control {
    background: none;
    color: black;
    border: none;
    border-radius: 20px;
    width: 100%;
}

.search-bar .form-control:focus {
    box-shadow: none !important;

}

.search-bar .icon {
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 10px;
    width: 45px;
}

.search-btn {
    text-align: center;
}

.border-r {
    border-right: 10px solid #2f2f22;
    border-radius: 12px;
}

.item-list {
    padding: 0 !important;
    margin: 0 !important;

}

.item-card {
    padding: 1rem;
}

.form-check-input:checked {
    background-color: #33cc33;
    border-color: #198754;
}

.form-check-input:focus {
    box-shadow: none !important;
}

.items-name {
    margin-bottom: -2px;
    font-size: 23px;
}

.numsub {
    font-size: 14px;
}

.bi-trash3 {
    color: red;
    font-size: 1.5rem;
}

.eror {
    color: red;
}

.tic {
    border-right: 10px solid #198754;
    border-radius: 12px;
    color: #ccc;
    position: relative;
}


.tic::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1%;
    left: 1%;
    height: 3px;
    background-color: #a0a0a0;
    transform: translateY(-50%);
    pointer-events: none;
}



@media (min-width: 768px) {
    .form-control-md-lg {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        border-radius: 0.5rem;
        min-height: calc(1.5em + 1rem + 2px);
    }

}

@media (max-width: 768px) {
    .margin {
        margin-top: 5px;
    }
    .bi-trash3{
        margin-left: 20px !important;
    }
}