.time-left-green {
    background-color: rgba(76, 175, 80, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: green;
}

.time-left-red {
    background-color: rgba(244, 67, 54, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: red;
}

.list-view .card-item {
    flex: 0 0 100%;
    max-width: 100%;
}

.auction-card {
    border-radius: 10px !important;
    background-color: rgb(251, 245, 245) !important;
}

.auction-card:hover {
    box-shadow: 0px 2px 10px 0px rgb(238, 236, 236) !important;
}

.list-view .card {
    flex-direction: row;
    display: flex;
    align-items: center;
}

.grid-view .card {
    display: block;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.btn-primary {
    background-color: #0755a3 !important;
}

.text-primary {
    color: #0755a3 !important;
}

.no-image-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #888;
    font-size: 16px;
    border: 0.8px solid #ccc;
    border-radius: 10px;
}

.list-view .no-image-placeholder {
    width: 450px !important;
    height: 250px;
    font-size: 14px;
    margin-left: 20px;
    margin: 5px;
}

.list-view .card-image {
    margin: 5px;
    border-radius: 20px;
    width: 450px !important;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border-radius: 20px;
}

.custom-calendar-icon {
    background-color: #e1edfa;
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .list-view .no-image-placeholder {
        display: none;
    }

    .list-view .auction-card-heading {
        display: none;
    }

    .list-view .card-image {
        display: none;
    }
}

.form-width {
    width: 400px !important;
    margin: auto 0px auto auto !important;
    align-items: center;

    & input {
        height: 33px !important;
    }

    & .down-btn {
        padding: 4px 8px !important;
    }

    & .inp-bor {
        border-radius: 100px;
        padding: 1px 10px !important;
    }
}

.auction-card-heading {
    background: rgba(22, 21, 21, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* -----auction view page css-----  */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f8f9fa;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.image-wrapper.no-image {
    background-color: #e9ecef;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.overlay i {
    margin-right: 0.5rem;
}

.auction-content {
    background-color: #f4f5f6;
    padding: 10px;
    border-radius: 10px;
}

.auction-content-heading {
    background: #192b56;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(8px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: white;
}

.card-content-title {
    font-size: 24px;
}

.modal-dialog {
    max-width: 900px !important;
    width: 100% !important;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    background-size: 100% 100% !important;
    border-radius: 100% !important;
    padding: 10px !important;
    background-color: #192b56 !important;
}

.carousel-inner img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 5px;
}

/* -- ------tender css------ -- */

.nav-tabs {
    margin-inline: 10px !important;
}

.nav-tabs .nav-link {
    border: none !important;
    border-bottom: 4px solid transparent !important;
    color: #000 !important;
    background-color: transparent !important;
    font-weight: 500 !important;
}

.nav-tabs .nav-link:hover {
    cursor: pointer !important;
}

.nav-tabs .nav-link.active {
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd !important;
    background-color: transparent !important;
}

a {
    text-decoration: none !important;
}

.header-section {
    background-color: #f5faff;
}

.header-img {
    width: 220px;
    background-position: center;
    background-size: cover;
    padding: 10px;
}

@media (max-width: 767px) {
    .header-section {
        padding: 20px;
    }
    .header-img {
        display: none;
    }
}

.card-custom {
    border: none;
    overflow: hidden;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.card-custom:hover {
    /* border: 1px solid #0755A3; */
    box-shadow: 0 4px 3px rgba(0, 0, 0, 0.08);
}

.card-body-top {
    padding: 1rem;
    flex: 1;
}

.card-footer-strip {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}

.corner-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #192b56, #3d5eac);
    color: white;
    padding: 8px 20px;
    width: 100%;
    font-weight: bold;
    /* font-size: 0.75rem; */
    /* transform: rotate(45deg); */
    transform-origin: top right;
    z-index: 10;
}
.corner-ribbon::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    border-right: 10px solid transparent;
    border-top: 10px solid #192b56;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.flex-grid-item {
    flex: 1 1 300px;
    min-width: 280px;
}
.info-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5px;
}
.fw-semibold {
    font-weight: 600;
}
