input[type="text"],
select,
[input="submit"] {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    appearance: none;
    /* Elimina estilos nativos de iOS/Android */
    box-shadow: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    width: auto;
}






:root {
    --primary-color: #000;
    --bg-body: #fdfdfd;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-body);
}

header {
    padding: 1rem 2rem;
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 2rem;
    align-items: center;
}

header a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

header a:hover {
    color: var(--primary-color);
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Clase para animar la entrada del contenido */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.login-header p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-login {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 1rem;
}

.btn-login:hover {
    opacity: 0.85;
}

.btn-login:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error-banner {
    background-color: #fff5f5;
    color: #c53030;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #feb2b2;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.mlstatus {


    margin-top: 10px;
    border-radius: 5px;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.approved {
    background-color: #00d539;
    border: 1px solid #00a403;
    color: #ffffff;
}

.refunded {
    background-color: #d50000;
    border: 1px solid #510000;
    color: #ffffff;
}


.in_mediation {
    background-color: #cb5f00;
    border: 1px solid #c55b0a;
    color: #ffffff;
}

.letrasrojas {
    color: #c53030;
    font-weight: bold;
}




.label-elegant {
    display: block;
    font-size: 14px;
    /* Tamaño reducido */
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    /* Toque elegante */
    margin-top: 10px;
}




.input-elegant {
    width: 100% !important;
    padding: 8px 12px !important;
    /* Más esbelto */
    border: 1px solid #e0e0e0 !important;
    ;
    border-radius: 3px !important;
    font-size: 13px !important;
    color: #444;
    background-color: #fafafa !important;
    ;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
    height: 31px !important;
}

.input-elegant:focus {
    border-color: #007aff;
    /* Azul estilo iOS/MacOS */
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.input-elegant::placeholder {
    color: #bbb;
}



.button-elegant {
    background-color: #5dbdcc !important;
    color: #ffffff !important;
    width: 100% !important;

    font-size: 11px !important;
    border-radius: 3px !important;
    height: 31px;


    border: none;
    cursor: pointer;
}



.row {
    overflow: hidden;
}



/* Configuramos el box-sizing para que el padding no rompa el ancho */
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
    float: left;
    padding: 5px;
    box-sizing: border-box;
}

/* Definición de anchos (n / 12 * 100) */
.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

/* El "Clearfix" para que la fila (.row) contenga a las columnas flotantes */
.row::after {
    content: "";
    clear: both;
    display: table;
}



.box {
    gap: 25px;
    align-items: top;
    background: #fff;
    padding: 18px 24px;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e0;
}


.title {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.page {
    gap: 25px;
    align-items: top;
    background: #fff;
    padding: 5px px;
    border-radius: 4px;
    border: 1px solid #edf2f7;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
    text-align: center;
    color: #000000;
    float: left;
}

.estadopriority {
    background-color: #ffffff;
    padding: 4px;
    border-radius: 5px;
    display: none;
}

.estadopriority_DEVOLUCION {
    color: #ef5901;
    display: inline-flex;
}

.estadopriority_SEGUIMIENTO {
    color: #07B90D;
    display: inline-flex;
}

.estadopriority_CANCELADA {
    color: #9d9696;
    display: inline-flex;
}

.estadopriority_FACTURA {
    color: #99a400;
    display: inline-flex;
}

.estadopriority_RECLAMO {
    color: #b90707;
    font-weight: bold;
    display: inline-flex;
}

.estadopriority_MARCA {
    color: #ff00ee;
    font-weight: bold;
    display: inline-flex;
}



.DEVOLUCION_box {
    background-color: #ef5901;
    color: #ffffff;
    border-radius: 5px;
}

.SEGUIMIENTO_box {
    background-color: #00a403;
    color: #ffffff;
    border-radius: 5px;
}

.CANCELADA_box {
    background-color: #b7b7b7;
    color: #ffffff;
    border-radius: 5px;
}

.FACTURA_box {
    background-color: #99a400;
    color: #ffffff;
    border-radius: 5px;
}

.RECLAMO_box {
    background-color: #af0808;
    color: #ffffff;
    border-radius: 5px;
}

.MARCA_box {
    background-color: #ff00ee;
    color: #ffffff;
    border-radius: 5px;
}

.header {
    padding: 10px;
    overflow: hidden;
    border-bottom: #ddd 1px solid;
}

.menuitem {
    float: left;
    width: 100px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;

}

.menuitem a {
    text-decoration: none;
}


/* Contenedor de Imagen Optimizado */
.product-image-container {
    width: 220px;
    height: 220px;
    min-width: 220px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    border-right: 1px solid var(--border-color);
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Mantiene proporción sin deformar */
    mix-blend-mode: multiply;
}


.page-indicator {
    float: left;
    width: 30px;
}

.product-type {

    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.badge-mercadoenvios {
    color: #000000;
    margin-bottom: 6px;
    right: -6px;
    background: #ffe600;
    font-size: 20px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-dropshipping {
    top: -6px;
    right: -6px;
    font-size: 20px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
        color: #e2e8f0;
    background-color: #e53e3e;
    font-size: 24px;
}

.badge-stock {
    top: -6px;
    right: -6px;
    font-size: 20px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
        color: #e2e8f0;
    background-color: #718096;
    font-size: 24px;
}
















