.btn-copy {
    padding: 5px;
    margin: 0;
}

.widable {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td {
    white-space: nowrap;
    overflow: hidden;

    padding: 10px;
    /* font-size: 1.3rem; */
    margin: 0;
    /* background: white; */
}

.customer-active-section {
    text-align: left;
}

.customer-is-active {
    height: 17px;
    width: 17px;
    background-color: rgb(68, 156, 46);
    border-radius: 50%;
    display: inline-block;
}

.customer-not-active {
    height: 17px;
    width: 17px;
    background-color: rgb(158, 73, 71);
    border-radius: 50%;
    display: inline-block;
}

fieldset {
    margin: 10px;
    padding: 15px;
    border-radius: 7px;
    justify-content: center;
}

legend {
    font-size: 13px;
    color: grey;
}

.act_eco_group {
    height: auto;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.remove_button {
    background: transparent;
    border: none;
    text-align: left;
}

ul {
    padding: 0px;
    list-style-type: none;
}

li {
    margin: 5px;
}

.alert-message {
    color: red;
    margin: 5px;
}

.enlaces {
    display: flex;
    justify-content: space-around;
    /* width: 30%; */
    z-index: 99;
}

.enlaces li {
    list-style: none;
    margin: 10px;
}

.enlaces li a {
    color: #000;
    text-decoration: none;
    font-size: 1em;
    position: relative;
}

.enlaces li a:hover {
    color: #c84e5f;
    font-weight: bold;
}

#act_eco_list>li {
    width: 100%;
    margin-top: 10px;
}

.enlaces li a::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c84e5f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform ease 0.5s;
    -webkit-transition: transform ease 0.5s;
    -moz-transition: transform ease 0.5s;
    -ms-transition: transform ease 0.5s;
    -o-transition: transform ease 0.5s;
}

.enlaces li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.form-group {
    margin-top: 10px;
}

.card-sale {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
}

.sale-status {
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 5px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.sale-status.success {
    color: #0f5132;
}

.sale-status.warning {
    color: #664d03;
}

.sale-status.error {
    color: #842029;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    z-index: 1049;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

.filter-drawer.show {
    left: 0;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

[data-bs-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    transition: opacity 0.3s ease;
}

#overlay.show {
    display: block;
    opacity: 1;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.overlay-content p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

[data-bs-theme="dark"] #preloader {
    background-color: #121212;
    color: #ffffff;
}

[data-bs-theme="light"] #preloader {
    background-color: #ffffff;
    color: #000000;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-bs-theme="dark"] a.link-primary {
    color: white !important;
}

body[data-bs-theme="light"] a.link-primary {
    color: black !important;
}

.pagination {
    flex-wrap: wrap;
    justify-content: center;
}

#messageModal {
    z-index: 2000 !important;
}