.bid_data .list-group-item {background-color: #e9e9e9;border-color: #fff;}
.bid_data .list-group-item:last-child { background-color: #66c87b4a; }

.product-image {max-height: 400px;object-fit: cover;}
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
}

.carousel-control-prev, .carousel-control-next{opacity: 1;}
.carousel-control-prev-icon, .carousel-control-next-icon
{background-color: #fff;color: #22c55e; opacity: 1; padding: 8px 6px; border-radius: 50%;}
.card-sl {border-radius: 8px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);overflow: hidden;}

.bid_data .card-sl{height: 276px;}
/* .bid_data .card-sl{height: 258px;} */

/* Photo Modal */
.photoModal{z-index: 99999;}
.photoModal .btn-close{
    z-index: 1;
    opacity: 1;
    box-shadow: 0 0 3px #fff;
    border-radius: 50%;
    padding: 13px;
    position: absolute;
    left: 46px;
    cursor: pointer;
}
.photoModal .carousel-control-prev,
.photoModal .carousel-control-next{margin: 100px 0;}

.card-image img {height: 220px;;max-height: 100%; max-width: 100%; border-radius: 8px;object-fit: cover}
.card-action {
    position: relative;
    float: right;
    margin-top: -25px;
    margin-right: 20px;
    z-index: 2;
    color: #22c55e;
    background: #fff;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-size: 15px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
}
.card-action:hover { color: #fff; background: #22c55e; -webkit-animation: pulse 1.5s infinite;}
.card-heading { font-size: 20px; font-weight: bold; background: #fff; padding: 10px 15px;}
.card-text { padding: 10px 15px; background: #fff; font-size: 14px; color: #636262;}
@-webkit-keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }

    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}

.bid_data .bid_live_data{
    /* height: 258px; */
    height: 276px;
    overflow-y: scroll;
    border:1px solid #fff;
    background-color: transparent;
}

#overlay
{
    top: 0;
    left:0;
    width:100%;
    height: 100%;
    position: absolute;
    z-index: 9999;
    background: #0000007a;
    align-items: center;
    justify-content: center;
    display: flex;
}
#overlay div{
    background: #fff;
    color: #000 !important;
    padding: 30px;
    border-radius: 7px;
}

@media (max-width: 576px) {
    #overlay div {
        width: 100% !important;
        margin: 0 12px;
        text-align: center;
    }
}

.bid_data .mute{
    color:#b8b8b8;
    border: 2px solid #b8b8b8;
    box-shadow: none;
    width: 28px;
    height: 40px
}

.bid_data #increaseBid {
    background: #0E7178;
    padding-top: 16px
}
.bid_data #increaseBid:active{background: #ef863e;}
.bid_data #increaseBid.ownerBid {background: #7a7d7d;cursor: not-allowed;pointer-events: none;}
.bid_data .btn-rate-limited {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* .sidenav.navbar{z-index: 9999999;} */
.was-validated .form-control:invalid, .form-control.is-invalid{
    background-position: left 0.75rem center;
}

.form-select {background-position: left 0.75rem center;}
[dir=ltr] .form-select { background-position: right 0.75rem center;}

.fav .icon{cursor: pointer;}
.fav-animate {
    animation: heartBeat 0.3s ease-in-out;
    transform: scale(1);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.heart_link{
    background: rgb(17, 19, 17);
    display: block;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align-last: center;
    align-content: center;
    color: #e1e1e1;
    text-decoration: none;
}

.auction_type{
    top: 20px;
    width: 80px;
    background: #c1dccf;
    right: -8px;
    padding: 2px 8px 3px 0;
    border-radius: 13px 0 0 13px;
    color: #2e6e65;
    font-weight: 600;
    font-size: 14px;
}

.auction-card .details .card-title i{
    background: #0000001f;
    width: 30px;
    border-radius: 50%;
    height: 28px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 400px) {
    .auction-card .details .card-title{
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .auction-card .details .card-title .col-6{padding-right: 0;}
}


.pay_methods label{width: 110px;height: 55px;display: flex; justify-content: center;align-items: center;}

input[readonly],
input[readonly]:focus { cursor: not-allowed; background: #e9ecef; box-shadow: none;}


.table-responsive {direction: rtl; overflow-x: auto;}
table { direction: rtl; }
div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
    justify-content: flex-start;
    margin-left: auto !important;
    margin-right: 0;
}
div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    justify-content: flex-end;
    margin-right: auto !important;
    margin-left: 0;
}

#userVehiclesTabs a{color: #00782c;}
#userVehiclesTabs a.active{color:#3f3f46}
#soldVehicleOverlay{
    top: 0;
    left:0;
    width:100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: #0000007a;
}
#soldVehicleOverlay img{
  filter: drop-shadow(2px 4px 6px black)
}



/* animation for voice speaking */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.speaking-animation{
    color: green;
    animation: pulse 2s infinite;
}


/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* background-color: #25D366; لون واتساب الرسمي */
    color: white;
    font-size: 28px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); */
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-sticky img{width: 66px;}
.whatsapp-sticky:hover {
    /* background-color: #1ebe5d; */
    transform: scale(1.1);
    text-decoration: none;
}


[type="tel"], [type="url"], [type="email"], [type="number"] {
    direction: rtl;
}




/* ====================== home page without login ================== */
.live_auction_home .bid_data .mute, .bid_data .mute:hover {
    color: #b8b8b8;
    border: 2px solid #b8b8b8;
    box-shadow: none;
    width: 40px;
    height: 40px;
    background: transparent !important;
}
.live_auction_home .bid_data .winner_box{padding: 15px !important}
.live_auction_home .bid_data .no_winner_box{padding: 58px !important}
/* .bid_data .bid_live_data ul{height: 100%;}
.live_auction_home .bid_data .winner_box{padding: 10px !important; height: 100%; display: flex; flex-direction: column; justify-content: center;align-items: center}
.live_auction_home .bid_data .no_winner_box{padding: 10px !important; height: 100%; display: flex; flex-direction: column; justify-content: center;align-items: center} */
.live_auction_home .bid_data :is(.winner_box, .no_winner_box) span{font-weight: bold;}
.live_auction_home .bid_data :is(.winner_box, .no_winner_box) .winnerName{font-weight: bold;}







/* الأيقونة العادية */
.mute_voice {
    transition: transform 0.3s ease;
}

/* عند تفعيل الأنيميشن */
.speaker-active{
    border: 2px solid #0e71785e !important;
}
.speaker-active i{
    color: #0e7178 !important; /* أخضر = صوت شغال */
    /* animation: speakerPulse 2s infinite ease-in-out; */
}

/* شكل الموجة */
@keyframes speakerPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        /* text-shadow: 0 0 0px #0e7178; */
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
        /* text-shadow: 0 0 10px #0e7178; */
    }
    100% {
        transform: scale(1);
        opacity: 1;
        /* text-shadow: 0 0 0px #0e7178; */
    }
}


/* database tables */
div.dt-container select.dt-input {
    padding: 0 3px !important;
    margin: 4px;
    outline: none !important;
}
div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button{
    padding: 0;
}
div.dt-container .dt-paging .dt-paging-button:hover,
div.dt-container .dt-paging .dt-paging-button:active{
    box-sizing: border-box;
    box-shadow: none;
    display: inline-block;
    min-width: 1.5em;
    padding: 0;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent !important;
}
div.dt-container .dt-paging .dt-paging-button.current{
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
    padding: 0 10px;
    width: auto;
    height: 30px;
}

