/* =========================================
   CLASE PARA MENU
========================================= */
/* =========================================
   RESET GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   HTML Y BODY
========================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    font-size: 12px !important;
    padding-top: 70px !important;
    background: rgb(255, 255, 255) !important;
}

.boxGradient {
    box-shadow:
        0 10px 30px #402052,
        0 10px 40px #02ae99;
}
.borderGradientUser {
    padding: 3px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: linear-gradient(to right, #402052 0%, #02ae99 100%) !important;
}

.borderGradientUser img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
}
.borderColorPurpleAca {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    border: 3px solid;
    border-image: linear-gradient(to right, #402052 0%, #02ae99 100%) 1;
}
.textWHiteColor {
    font-size: 15px;
    font-family: 'Gotham Rounded', sans-serif;
    color: white !important;
}
.form-group .textSecondaryHref {
    color: rgb(194, 195, 180);
}

.textSecondaryHref,
.textSecondaryHref:link,
.textSecondaryHref:visited {
    font-size: 12px;
    text-decoration: none;
    font-family: 'Gotham Rounded', sans-serif;
    color: rgb(194, 195, 180) !important;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: 0.2s ease;
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.textSecondaryHref {
    font-size: 13px;
    text-decoration: none !important;
    font-family: 'Gotham Rounded', sans-serif;
    color: rgb(194, 195, 180) !important;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: all 0.2s ease;
}

.textSecondaryHref:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.textSecondaryHref i {
    width: 16px;
    text-align: center;
}

.textGrayColor {
    font-size: 15px;
    font-family: 'Gotham Rounded', sans-serif;
    color: rgb(108, 111, 109) !important;
}
.lineAcacesHrGradient {
    width: auto;
    height: 3px;
    border: 0;
    background: linear-gradient(to right, #402052 0%, #02ae99 100%);
}
.lineAcacesHrGradientGray {
    width: 35%;
    height: 3px;
    border: 0;
    background: linear-gradient(to right, #aeacac 15%, #02ae99 100%);
}
.textPurpleColor {
    font-size: 15px;
    color: #402052 !important;
    font-family: 'Gotham Rounded', sans-serif;
}

.bg-menu-degradado {
    background: linear-gradient(to right, #402052 0%, #02ae99 100%);
    color: #ffffff;
    padding: 15px 10px;
    border-radius: 0 0 8px 8px;
}

.bg-menu-degradado h4 {
    color: #ffffff;
    margin-top: 0;
    font-weight: bold;
}

.bg-menu-degradado hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-menu-degradado .titulo,
.bg-menu-degradado .userData,
.bg-menu-degradado strong {
    color: rgba(255, 255, 255, 0.95);
}

.bg-login-degradado {
    background: linear-gradient(to bottom, #02ae99 0%, #402052 100%);
    color: #ffffff;
    padding: 15px 10px;
    border-radius: 0 0 8px 8px;
}

/* =========================================
   CLASE PARA FOOTER
========================================= */

.bg-footer-degradado {
    background: linear-gradient(to right, #402052 0%, #02ae99 100%);
    color: #ffffff;
    padding: 25px 10px;
    margin-top: 20px;
}

.bg-footer-degradado strong {
    color: #ffffff;
    font-size: 14px;
}

.bg-footer-degradado p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.6;
}

.bg-footer-degradado hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* GRID */
.modern-card {
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* BOTÓN DESCARGA */
.download-area {
    text-align: right;
    margin-bottom: 10px;
}

.btn-download {
    background: linear-gradient(135deg, #02ae99, #402052);
    color: #fff;
    border: none;

    padding: 10px 18px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);

    transition: 0.3s ease;
}

.btn-download:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* CARD */
.card-body {
    padding: 30px;
    height: 385px;
    border-radius: 25px;
    position: relative;
    min-height: 385px;
    background: linear-gradient(to bottom, #02ae99 0%, #402052 100%);
    color: #fff;
}

/* LOGO */
.logo-card img {
    width: 150px;
}

/* PRODUCTO */
.product-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'Gotham Rounded', sans-serif;
}

/* REFERENCIA */
.product-ref {
    text-align: center;
    font-size: 20px;
    margin-top: 8px;
    opacity: 0.9;
    font-family: 'Gotham Rounded', sans-serif;
}

/* BARCODE */
.barcode-content {
    margin-top: 30px;
    text-align: center;
    font-family: 'Gotham Rounded', sans-serif;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
}

.barcode-img {
    display: block;
    width: 350px;
    max-width: auto;
    height: auto;
    margin: 0px auto;
    background: #fff;
}
/* .barcode-content {
  margin-top: 30px;
  text-align: center;
  font-family: "Gotham Rounded", sans-serif;
}

.barcode-img {
  width: 85%;
  height: 85px;
  background: #fff;
  object-fit: contain;
} */
/* CODIGO */
.code-box {
    font-family: 'Gotham Rounded', sans-serif;
    text-align: center;
    margin-top: 10px;
}

.code-box code {
    background: none;
    color: #fff;
    font-family: 'Gotham Rounded', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
}

/* NPE */
.npe-code {
    text-align: center;
    margin-top: 8px;
    font-size: 15px;
    font-family: 'Gotham Rounded', sans-serif;
}

/* FOOTER  DE CARD DE BARCODES*/
.footer-modern {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 60px);
    color: #fff !important;
    font-family: 'Gotham Rounded', sans-serif !important;
    font-size: 15px !important;
    font-weight: bold !important;

    line-height: 1.4;
}

.footer-left {
    flex: 1;
    text-align: left;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    padding-right: 12px;
}

.footer-right {
    text-align: right;
    white-space: nowrap;
}
.boldTextLime {
    color: #bfdd3d;
    font-style: inherit;
    font-family: 'Gotham Rounded', sans-serif !important;
}

/* GRID */
.dashboard-grid > div {
    margin-bottom: 25px;
}

/* CARD */
.dash-card {
    border: none;
    border-radius: 22px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* HOVER */
.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

/* BODY */
.dash-card-body {
    padding: 35px 20px;
}

/* GRADIENTE */
.dash-gradient {
    background: linear-gradient(to right, #402052 0%, #02ae99 100%);
    color: white;
}

/* ICONO */
.dash-icon {
    width: 85px;
    height: 85px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;
    color: white;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* TITULOS */
.dash-card h5 {
    margin-top: 20px;
    font-weight: 600;
    font-size: 20px;
}

/* TEXTO */
.dash-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.imgLoginresponsive {
    max-width: 75%;
    height: auto;
}

.paddinBodyTop {
    padding-top: 0px !important;
}

/* =========================================
   RESPONSIVE PARA TELÉFONOS
========================================= */

@media (max-width: 768px) {
    html,
    body {
        font-size: 11px !important;
        padding-top: 60px !important;
    }

    /* CARD PRINCIPAL */
    .card-body {
        padding: 20px;
        min-height: auto;
        height: auto;
        border-radius: 18px;
    }

    /* LOGO */
    .logo-card img {
        width: 110px;
    }

    /* TITULOS */
    .product-title {
        font-size: 18px;
        margin-top: 15px;
    }

    .product-ref {
        font-size: 15px;
    }

    /* BARCODE */
    .barcode-content {
        margin-top: 20px;
        padding: 10px;
    }

    .barcode-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* CODIGO */
    .code-box code {
        font-size: 12px;
        letter-spacing: 1px;
        word-break: break-all;
    }

    .npe-code {
        font-size: 13px;
    }

    /* FOOTER CARD */
    .footer-modern {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;

        width: 100%;
        margin-top: 20px;

        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        font-size: 13px !important;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: left;
        white-space: normal;
    }

    /* DASHBOARD */
    .dash-card-body {
        padding: 25px 15px;
    }

    .dash-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .dash-card h5 {
        font-size: 17px;
    }

    .dash-card p {
        font-size: 13px;
    }

    /* BOTÓN DESCARGA */
    .download-area {
        text-align: center;
    }

    .btn-download {
        width: 100%;
        padding: 12px;
        font-size: 13px;
    }

    /* MENUS */
    .bg-menu-degradado,
    .bg-login-degradado,
    .bg-footer-degradado {
        padding: 15px;
        border-radius: 0;
    }

    /* IMAGEN LOGIN */
    .imgLoginresponsive {
        max-width: 100%;
    }

    /* BORDE USUARIO */
    .borderGradientUser img {
        width: 60px;
        height: 60px;
    }

    .borderColorPurpleAca {
        width: 90px;
        height: 90px;
    }

    /* TEXTOS */
    .textWHiteColor,
    .textGrayColor,
    .textPurpleColor {
        font-size: 13px;
    }

    .textSecondaryHref {
        font-size: 12px;
    }

    /* GRID */
    .dashboard-grid > div {
        margin-bottom: 18px;
    }
}

/* =========================================
   EXTRA PEQUEÑOS (320px - 480px)
========================================= */

@media (max-width: 480px) {
    .product-title {
        font-size: 16px;
    }

    .product-ref {
        font-size: 14px;
    }

    .barcode-img {
        width: 100%;
    }

    .dash-icon {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .dash-card h5 {
        font-size: 15px;
    }

    .btn-download {
        font-size: 12px;
        border-radius: 14px;
    }

    .footer-modern {
        font-size: 12px !important;
    }
}
