﻿label.is-invalid {
    display: none !important;
}

#productImgId {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.badge {
    padding: 0.4em 1.2em 0.4em 1.2em !important;
    font-size: 80% !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
}

.form-check-input {
    width: 18px;
    height: 18px;
    transition: all 0.4s ease;
    border: 1.5px solid #ccc;
}

table.dataTable.collapsed tr.child td.child .dtr-details {
    width: 100% !important;
}

    table.dataTable.collapsed tr.child td.child .dtr-details li {
        display: flex !important;
        justify-content: space-between !important;
    }

        table.dataTable.collapsed tr.child td.child .dtr-details li span.dtr-data .fa-edit {
            margin-right: 3rem !important;
        }

.select2-selection__arrow {
    display: none !important;
}

.select2-container .select2-selection--single {
    height: 32px !important; /* Match with the input field height */
    border: 1px solid #ced4da !important; /* Bootstrap default input border color */
    padding: 5px 10px !important; /* Adjust padding to align with textboxes */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 19px !important;
}

@media (max-width: 768px) {
    .btndd {
        margin-top: 6.4rem !important;
        margin-right: 2.5rem !important;
    }
}

@media (min-width: 768px) {
    .btndd {
        margin-top: 2rem !important;
    }
}

@media (min-width: 1200px) {
    .col-xl-2-5 {
        flex: 0 0 auto !important;
        width: 20% !important;
    }
}

@media (min-width: 992px) {
    .col-lg-2-5 {
        flex: 0 0 auto !important;
        width: 20% !important;
    }
}
/* Scroll wrapper only scrolls the tab row */
.nav-tabs-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Keep tab items inline */
.nav-tabs {
    flex-wrap: nowrap;
}
    /* Reset tab style to Bootstrap default */
    .nav-tabs .nav-link {
        color: #343a40 !important;
        border: 1px solid transparent;
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
        padding: 0.5rem 1rem;
    }

        .nav-tabs .nav-link:hover {
            border-color: #e9ecef #e9ecef #dee2e6;
        }

        .nav-tabs .nav-link.active {
            color: #495057;
            background-color: #fff;
            border-color: #dee2e6 #dee2e6 #fff;
        }
.dropzone .dz-message {
    color: #007bff !important;
    font-weight: 500;
}
.nav-tabs .nav-link {
    white-space: nowrap; /* Prevent line breaks */
 
}
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }
}

.filter-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #ececec;
}

    .filter-card:hover {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

.filter-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

    .filter-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    }

.filter-label {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #475569;
}
.animate-filter {
    animation: filterFadeIn 0.3s ease-in-out;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}