

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/woff/IRANYekanXFaNum-Bold.woff') format('woff'),
    url('../fonts/woff2/IRANYekanXFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanXFaNum;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/woff/IRANYekanXFaNum-Regular.woff') format('woff'),
    url('../fonts/woff2/IRANYekanXFaNum-Regular.woff2') format('woff2');
}

.hoverable {
    transition: 0.5s;
    cursor: pointer;
}

.hoverable:hover {
    scale: 1.1;
}

.custom-login-card {
    border-radius: 15px !important;
    box-shadow: 5px 5px 5px 5px!important;
}



* {
    font-family: 'IRANYekanXFaNum', sans-serif;
}

.fa {
    transition: transform 0.1s ease;
}

.fa:hover {
    color: #0d6efd;
    transform: scale(1.1);
    cursor: pointer;
}

.btn-for-list-red {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: red;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(4, 11, 56, 0.2);
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.btn-for-list-red:hover {
    color: #ffffff;
    background-color: darkred;
    box-shadow: 0 6px 16px rgba(11, 22, 121, 0.25);
    transform: translateY(-1px);
}

.btn-for-list-red:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(11, 22, 121, 0.35);
}

.btn-for-list-red:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(11, 22, 121, 0.2);
}

.btn-for-list-red .fa:hover {
    color: #ffffff;
}

.btn-for-list {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #0b1679;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(4, 11, 56, 0.2);
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.btn-for-list:hover {
    color: #ffffff;
    background-color: #040B38;
    box-shadow: 0 6px 16px rgba(11, 22, 121, 0.25);
    transform: translateY(-1px);
}

.btn-for-list:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(11, 22, 121, 0.35);
}

.btn-for-list:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(11, 22, 121, 0.2);
}

.btn-for-list .fa:hover {
    color: #ffffff;
}



.btn-outline-custom-1 {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff; /* رنگ متن اولیه */
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 33, 115, 0.15);
}

.btn-outline-custom-1:hover {
    background-color: #ffffff;
    color: #102173;
    border-color: #102173;
    box-shadow: 0 6px 16px rgba(16, 33, 115, 0.25);
    transform: translateY(-1px);
}

.btn-outline-custom-1:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(16, 33, 115, 0.35);
}

.btn-outline-custom-1:active {
    background-color: #ffffff;
    color: #102173;
    box-shadow: 0 3px 6px rgba(16, 33, 115, 0.2);
    transform: translateY(1px);
}


.btn-custom-1 {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #0b1679;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(4, 11, 56, 0.2);
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.btn-custom-1:hover {
    background-color: #040B38;
    box-shadow: 0 6px 16px rgba(11, 22, 121, 0.25);
    transform: translateY(-1px);
}

.btn-custom-1:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(11, 22, 121, 0.35);
}

.btn-custom-1:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(11, 22, 121, 0.2);
}

.nav-pills .nav-item .active {
    background-color: #253489 !important;
    color: #ffffff !important;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(16, 33, 115, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


.nav-pills .nav-item a {
    color: #4a4a4a !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.nav-pills .nav-item a:focus {
    outline: none;
    background-color: #0b1679;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 22, 121, 0.25);
}


/*
*/


#waybill .nav-pills .nav-item .active {
    background-color: #fe3925 !important;
    color: #ffffff !important;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(16, 33, 115, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


#waybill .nav-pills .nav-item a {
    color: #4a4a4a !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}


#waybill .nav-pills .nav-item a:focus {
    outline: none;
    background-color: #fe3925;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 22, 121, 0.25);
}

.customerRow:hover  {
    cursor: pointer;
}

.custom-card {
    background-color: transparent!important;
    border: 3px solid black;
    border-radius: 7px;
}

.consumable-card-sm {
    background: #fff;
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.2s ease;
    max-width: 180px!important;
    font-size: 0.85rem;
}

.consumable-card-sm:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.cursor-pointer {
    cursor: pointer;
}

.small-icon {
    font-size: 1.2rem;
}

.priceContainer {
    justify-content: center;
    padding: 2em 5vw;
    background: linear-gradient(202deg, #2A5983, #318CBF 70%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2em;
}

.priceContainer p {
    margin: 0;
    color: white;
    font-size: 1em;
}

.form-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #102173;
    margin-bottom: 6px;
}

.form-note-warning {
    font-size: 0.85rem;
    color: #084298;
    background: linear-gradient(135deg, #e6f0ff, #f2f8ff);
    padding: 0.6rem 0.75rem;
    border-radius: 0.4rem;
    border: 1px solid #b6d4fe;
}

.form-control {
    border-radius: 0.8rem;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(16, 33, 115, 0.25);
    background-color: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
    opacity: 0.8;
    font-style: italic;
}

.form-select {
    border-radius: 0.8rem;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
}

.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(16, 33, 115, 0.25);
    background-color: #fff;
}

.form-select::placeholder {
    color: #adb5bd;
    opacity: 0.8;
    font-style: italic;
}


p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 1rem;
    font-family: "IRANSans", "Vazirmatn", "Tahoma", sans-serif;
}

.form-check-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #102173 !important;
    margin-right: 0.5rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da!important;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    box-shadow: none;
}

.form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 33, 115, 0.25) !important;
}

.form-check-input:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 33, 115, 0.25) !important;
}

.form-check-input:hover {
    border-color: #0d6efd !important;
}

.card {
    --animate-duration: 1.8s;
}

.d-hover {
    transform: none!important;
}

.shadow-move-up {
    transform: translateY(1px);
    box-shadow: 0 3px 6px #0a53be;
}


.text-darkblue { color: #0d1a5a !important; }
.bg-darkblue { background-color: #0d1a5a !important; }

.text-redish { color: #fd3c2d !important; }
.bg-redish { background-color: #fe3925 !important; }

.text-grayish { color: #868686 !important; }
.bg-grayish { background-color: #868686 !important; }

.btn-darkblue-outline {
    transition: 0.4s;
    background-color: transparent;
    color: #0d1a5a;
    border: 1px solid #0d1a5a;
}

.btn-redish-outline {
    transition: 0.4s;
    background-color: transparent;
    color: #fe3925;
    border: 1px solid #fe3925;
}

.btn-grayish-outline {
    transition: 0.4s;
    background-color: transparent;
    color: #868686;
    border: 1px solid #868686;
}

.btn-darkblue-outline:hover {
    background-color: #0d1a5a;
    color: white;
}

.btn-redish-outline:hover {
    background-color: #fe3925;
    color: white;
}

.btn-grayish-outline:hover {
    background-color: #868686;
    color: white;
}

.bg-darkblue-gradient {
    background: linear-gradient(180deg, #0b3a6e, #0d1a5a) !important;
}

.bg-redish-gradient {
    background: linear-gradient(180deg, #e63824, #fe3925) !important;
}

.bg-grayish-gradient {
    background: linear-gradient(180deg, #7a7a7a, #868686) !important;
}

.bg-neutral-gradient {
    background: linear-gradient(180deg, #3a3a3a, #666666);
}

.btn-base {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    width: auto;
    font-weight: 500;
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
    text-align: center;
}


.btn-red {
    background-color: #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.btn-red:hover {
    background-color: #b71c1c;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
    transform: translateY(-1px);
}

.btn-red:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.35);
}

.btn-red:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(211, 47, 47, 0.2);
}


.selected-card {
    transform: translateY(-5px);
}


.dropdown-menu a {
    border-bottom: 1px solid #ddd;
    padding: 8px 12px;
}
.dropdown-menu a:last-child {
    border-bottom: none !important;
}

.warning-card {
    border: 2px solid red !important;
    border-radius: 10px;
}

.ltr-direction {
    display: inline-block;
    direction: ltr;
    unicode-bidi: bidi-override;
    text-align: left;
}

