﻿
:root {
    --primaryColor: #fff;
    --secondaryColor: #fff;
    --thirdColor: #fff;
    --fourColor: #fff;
    --fontColor: #fff;
    --backgroundColor: #fff;
}

body {
    color: var(--fontColor);
    font-size: .875rem;
    background-color: #f8f8f8;
    webkit-font-smoothing: antialiased;
}
.ltr {
    direction:ltr !important;
}
.top-menu {
    background-color: #3c3c3c;
    width: 99%;
    margin: 0 auto;
    margin-top: -15px;
    height: 30px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    background-color: #3c3c3c;
    z-index: 0;
    box-shadow: rgba(0, 0, 0, 0.45098) 0px 11px 51px 2px;
    border-bottom: 1px solid #848484;
}


.whitebox {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 12px;
    border-radius: 3px;
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 10px;
}

.item {
    position: relative;
    margin: 0 auto;
}

.options {
    padding: 12px;
    border-bottom: 1px solid #dfdfdf;
}

/*a:hover {
    text-decoration: solid;
}

a:active {
    color: darkgrey;
}

a:link {
    color: dimgrey;
}*/

.highlight {
    background-color: #ff9800 !important;
}

.selectColor {
    background-color: #ff8700 !important;
}

.yourElement {
    animation-duration: 3s;
    animation-delay: 1s;
    animation-iteration-count: initial;
}

.myElement {
    animation-duration: 3s;
    animation-delay: 2s;
    animation-iteration-count: initial;
}

.sale-type {
    background-color: orange;
    position: absolute;
    bottom: 15px;
    color: #111;
    left: 15px;
    font-weight: bold;
    font-size: 13px;
    padding: 0px 10px 0px 10px;
    text-shadow: 1px 1px 0px #fff;
    border-radius: 3px;
    line-height: 30px;
}

.user-panel-buttons {
    padding: 20px;
    margin: 20px;
    font-size: 24px;
    color: white !important;
}

.card-title2 {
    font-weight: bold !important;
}

footer a {
    color: #ffffff !important;
}

    footer a:hover {
        color: dodgerblue !important;
    }
.logoParent {
    display: inline-block;
    width: 280px;
    max-width: 40%;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
}
nav a {
    color: var(--fourColor) !important;
}
nav a:hover {
    color: var(--primaryColor) !important;
}
/*    nav a:has(:hover) {
        color: dodgerblue !important;
    }*/

.bx-pager {
    display: flex;
    align-items: center;
    height: 34px;
    border-left: 1px solid gray;
    margin-bottom: 20px;
}

    .bx-pager .bx-pager-item {
        display: flex;
        align-items: center;
        height: 100%;
        flex: 0 25%;
        border-top: 1px solid gray;
        border-bottom: 1px solid gray;
    }

        .bx-pager .bx-pager-item .bx-pager-link {
            text-decoration: none;
            color: #222;
            font-size: 13px;
            flex: 1;
            padding-left: 16px;
            text-align: center;
            height: inherit;
        }

        .bx-pager .bx-pager-item .arrow {
            border: solid gray;
            display: inline-block;
            padding: 9px;
            border-width: 1px 0 0 1px;
            transform: translateY(15.5px) rotate(-45deg) skew(-15deg, -15deg) translateX(18px);
            background-color: #FFF;
        }

        .bx-pager .bx-pager-item.active {
        }

            .bx-pager .bx-pager-item.active .bx-pager-link {
                color: white;
                background-color: forestgreen;
            }

        .bx-pager .bx-pager-item.sale-state-done .bx-pager-link {
            background-color: lightgreen;
        }

            .bx-pager .bx-pager-item.active .arrow {
                background-color: forestgreen;
            }

.nav-tabs .active {
    color: #898d8b !important;
}

.text-end {
    text-align: end !important;
}

.text-start {
    text-align: start !important;
}
        .bx-pager .bx-pager-item.active .arrow {
            background-color: forestgreen;
        }




.nav-tabs .active {
    color: #898d8b !important;
}

.text-end {
    text-align: end !important;
}
.text-start {
    text-align: start !important;
}
.max-height-65vh {
    max-height: 65vh !important;
}
.overflow-y-scroll {
    overflow-y: scroll !important;
}





/* پایه دکمه‌ها - مشابه Bootstrap */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

    .btn:hover {
        filter: brightness(0.96);
    }

    .btn:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
    }

    .btn:active {
        filter: brightness(0.92);
    }

    .btn.disabled,
    .btn:disabled {
        opacity: 0.6;
        pointer-events: none;
        filter: none;
    }

/* رنگ‌های ملایم یکدست */
.btn-primary {
    background-color: hsl(215, 45%, 65%);
    border-color: hsl(215, 45%, 55%);
    color: #fff;
}

.btn-secondary {
    background-color: hsl(260, 40%, 68%);
    border-color: hsl(260, 40%, 58%);
    color: #fff;
}

.btn-success {
    background-color: hsl(155, 45%, 65%);
    border-color: hsl(155, 45%, 55%);
    color: #fff;
}

.btn-danger {
    background-color: hsl(0, 50%, 70%);
    border-color: hsl(0, 50%, 60%);
    color: #fff;
}

.btn-warning {
    background-color: hsl(45, 55%, 70%);
    border-color: hsl(45, 55%, 60%);
    color: #212529;
}

.btn-info {
    background-color: hsl(185, 45%, 68%);
    border-color: hsl(185, 45%, 58%);
    color: #fff;
}

/* سایه focus متناسب با هر رنگ (هماهنگ و ملایم) */
.btn-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(215, 45%, 65%, 0.4);
}

.btn-secondary:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(260, 40%, 68%, 0.4);
}

.btn-success:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(155, 45%, 65%, 0.4);
}

.btn-danger:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(0, 50%, 70%, 0.4);
}

.btn-warning:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(45, 55%, 70%, 0.4);
}

.btn-info:focus-visible {
    box-shadow: 0 0 0 0.25rem hsla(185, 45%, 68%, 0.4);
}