
label.error {
    width: 100%;
color: #dc3545 !important;
}
.error-message {
    color: #dc3545 !important;
 }

/* Keep validation border color; hide Bootstrap's built-in exclamation icon */
.form-control.is-invalid,
textarea.form-control.is-invalid {
    background-image: none !important;
    padding-right: 0.75rem !important;
}

.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.25rem !important;
}

.badge-outline {
    display: inline-block;
    padding: 5px 8px;
    line-height: 12px;
    border: 1px solid;
    border-radius: .25rem;
    font-weight: 400;
    font-size: 13px;
}

.col-green {
    color: #4caf50 !important;
}
.col-red {
    color: #f44336 !important;
}
.col-yellow {
    color: #ffa117 !important;
}
.col-blue {
    color: #3dc9b3 !important;
}
.view .main-field {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}

#imagePreviewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
    padding: 0;
}

.image-thumbnail {
    position: relative;
    width: 117px;
    /* Adjust width as needed */
    text-align: center;
    list-style: none;
}

.preview-img {
    width: 100%;
    height: 90px;
    display: block;
}
.default-imgcheck-icon {
    position: absolute;
    bottom: -17px;
    right: -3px;
    color: green;
}
.image-name {
    display: block;
    width: 100%;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    background: #eee;
    padding: 0 0 0 7px;
}

.delete-img-btn {
    position: absolute;
    top: -7px;
    right: -29px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#videoPreviewList {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
    padding: 0;
}

.video-thumbnail {
    position: relative;
    width: 131px;
    /* Adjust width as needed */
    text-align: center;
    list-style: none;
}

.video-name {
    display: block;
    width: 129px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    background: #eee;
    padding: 0 0 0 7px;
}

.preview-video {
    width: 129px;
    height: 90px;
    display: block;
}

.delete-video-btn {
    position: absolute;
    top: -8px;
    right: -28px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#brand,
#filterStatus,
#approvalStatus {
    width: 200px;
}

#dropdown-container {
    margin-right: 42px;
}

.store-card .fade {
    opacity: 1;
}

.store-card .alert-body {
    font-size: 12px;
}

.roles input {
    height: auto !important;
    width: unset !important;
}

.form-check .form-check-input {
    width: 17px;
    height: 17px;
    padding: 0;
}

#view .card {
        background-color: #fff !important;
    	padding-left: 10px !important;
    	position: relative;
        margin-bottom: 0px;
	
}
#view {
   border-radius: 10px !important;
}

#view.section-body .card .card-body {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

#view .main-field {
    color: #000;
}

.section-body {
    background-color: #ffffff;
    box-shadow: 0 .46875rem 2.1875rem rgba(90, 97, 105, .1), 0 .9375rem 1.40625rem rgba(90, 97, 105, .1), 0 .25rem .53125rem rgba(90, 97, 105, .12), 0 .125rem .1875rem rgba(90, 97, 105, .1);
}

.section-body .card {
    padding: 30px 15px;
}

#list.section-body {
    background: none;
    box-shadow: unset;
}

#list.section-body .card {
    padding: 0;
}

label {
    color: black !important;
}

.alert-dismissible .close {
    top: -7px !important;
    right: -17px !important;
}

.alert.alert-success {
    margin-top: 25px;
}

/* Select2 multi-select: fix tag overlap / allow container to grow (layout only) */
.select2-container {
    display: block;
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    height: auto !important;
    min-height: calc(2.25rem + 6px);
    overflow: hidden;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: block;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 2px 5px 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    height: auto !important;
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 2px;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    margin-left: 10px !important;
}