/* input design */
.form-label-content {
    position: relative;
    margin-bottom: 10px;
}

.form-label-content i {
    position: absolute;
    right: 10px;
    top: 8px;
    cursor: pointer;
}

.form-label {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    pointer-events: none;
    left: 6px;
    top: 8px;
    padding: 0 5px;
    background: #fff;
    text-transform: capitalize;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    z-index: 10;
}

.select2-label .form-label {
    z-index: 100;
}

.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-search
    .select2-search__field,
.form-control,
.form-input,
.form-select,
.form-textarea {
    border: 1.5px solid rgba(145, 158, 171, 0.32) !important;
    box-shadow: none;
    border-radius: 2px;
    width: 100%;
    margin: 0;
    padding: 6px 12px !important;
    font-size: 14px;
    font-weight: 400;
    color: #3f4254;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.form-input.has-text,
.form-select.has-text,
.form-textarea.has-text {
    border-color: #6c757d !important;
    /* Border color when input has text */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border: 1.5px solid #6c757d !important;
}

.form-input:focus ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-select:focus ~ .form-label {
    top: -8px;
    left: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #1f272e;
    background: #fff;
}

.form-input:not(:placeholder-shown) ~ .form-label {
    top: -8px;
    left: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #1f272e;
    background: #fff;
}

.form-textarea:not(:placeholder-shown) ~ .form-label {
    top: -8px;
    left: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #1f272e;
    background: #fff;
}

.form-select:not([value=""]):valid ~ .form-label {
    top: -8px;
    left: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #1f272e;
    background: #fff;
}

.form-select[value=""]:focus ~ .form-label {
    top: 11px;
    font-size: 11px;
    color: #1f272e;
    background: #fff;
}
/* input design end */
/* btn */
.btn {
    border-radius: 8px;
    padding: 4px 13px !important;
    font-size: 14px;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary {
    background-color: #2490ef;
    border-color: #2490ef;
}
.btn.btn-light,
.btn.btn-light:focus{
    border: 1px solid #ddd;
    background-color: #f3f3f3;
}
/* btn end */
.main-header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
.app-with-top-nav #header {
    border-bottom: 1px solid #c1c1c1;
    width: 100%;
    background-color: #d8e6e9;
}
.card.main-card {
    background-color: #f9f9fb !important;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}
.card.main-card .card {
    margin-bottom: 0.25rem !important;
    box-shadow: none;
    border: 1px solid #ddd;
}
.table-responsive table,
.table.dataTable {
    border-collapse: collapse;
}
.table-bordered > :not(caption) > *,
.table-bordered > :not(caption) > * > *,
.table {
    border-width: 0.5px;
    border-color: #c1c1c1;
    padding: 4px;
}
.table-responsive table.dataTable.no-footer {
    border-bottom: 0.5px solid #c1c1c1;
}
.table-responsive table.dataTable > thead > tr > th,
.table-responsive table.dataTable > thead > tr > td,
.table-responsive table > thead > tr > th,
.table-responsive table > thead > tr > td {
    border-bottom: none;
    background-color: #d8e6e9;
}
.table-responsive table.dataTable > thead > tr > th,
.table-responsive table.dataTable > thead > tr > td,
.table-responsive table.dataTable > tbody > tr > td,
.table-responsive table > tbody > tr > td {
    vertical-align: middle;
    padding: 4px;
}
.table-responsive table thead th {
    font-size: 12px;
    font-weight: bold;
}
.table-responsive table tbody td {
    font-size: 14px;
}
.table-responsive {
    min-height: 350px;
}
.table-responsive.table-height{
    min-height: max-content;
}
.table.table-bordered.datatable {
    margin-top: 10px;
}
.table-responsive .dt-buttons > .dt-button,
.table-responsive .dt-buttons > div.dt-button-split .dt-button,
.dataTables_wrapper .dt-buttons {
    margin-bottom: 0 !important;
}
.btn.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    padding: 4px 13px !important;
}
.btn.btn-outline-secondary span {
    font-size: 14px;
}
.btn.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}
td .dropdown {
    width: max-content;
    margin: 0 auto;
}
td .dropdown .btn.btn-light {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    padding: 4px 12px;
}
.dropdown .dropdown-menu {
    padding-block: 0;
    overflow: hidden;
}
.dropdown .dropdown-menu li .dropdown-item {
    font-weight: 500;
    border-bottom: 1px solid #dee2e6;
}
.dropdown .dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}
.dropdown-item i {
    min-width: 22px;
}
.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-search
    .select2-search__field,
.form-control,
.apna-hisab-input,
.apna-hisab-select,
.apna-hisab-textarea {
    border: 1.5px solid rgba(145, 158, 171, 0.32) !important;
    box-shadow: none;
    border-radius: 8px;
    width: 100%;
    margin: 0;
    padding: 6px 12px !important;
    font-size: 14px;
    color: #3f4254;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    outline: none;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1.5px solid rgba(145, 158, 171, 0.32) !important;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.form-control:focus,
.dataTables_filter input:focus {
    box-shadow: none;
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper
    .dataTables_paginate
    .paginate_button.disabled:active
    .dataTables_wrapper
    .dataTables_paginate
    .paginate_button.disabled {
    padding: 2px 8px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    background-color: #e9ecef;
}
.paginate_button.previous {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}
.paginate_button.next {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}
.dataTables_wrapper .dataTables_paginate {
    padding-top: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 2px 10px;
}
.attribute .attribute-name {
    text-transform: capitalize;
    font-size: 18px;
}
.attribute .attribut-value {
    font-size: 16px;
}
.attribute .attribut-value-x {
    border: none;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}
.attribute .attribut-value-x:hover {
    background-color: transparent;
    color: #e6180d;
}
.attribute .list-group-item {
    padding: 6px 10px;
}
.card.products-card .card-header {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}
.card.products-card .card-header img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
}
.quantity .btn {
    padding: 6px 8px !important;
    line-height: 1;
    font-size: 12px;
}
.quantity .form-control {
    width: 40px;
    padding: 4px !important;
    font-size: 13px;
    line-height: 1;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.cart-subtotal .cart-subtotal-text,
.cart-subtotal .cart-subtotal-amount {
    font-size: 16px;
}
td ul {
    list-style: decimal;
    padding-left: 14px;
}
.remove-cart {
    border: none;
    outline: none;
    font-size: 18px;
    padding: 0;
    line-height: 1;
    background-color: #fff;
}
td.cart-img img {
    object-fit: cover;
}

.bg-gradient-custom-orange { background: linear-gradient(45deg, #ff6a00, #ee0979); }
.bg-gradient-custom-teal { background: linear-gradient(45deg, #00b09b, #96c93d); }
.bg-gradient-custom-pink { background: linear-gradient(45deg, #ff758c, #ff7eb3); }
.bg-gradient-custom-blue { background: linear-gradient(45deg, #0072ff, #00c6ff); }
