:root {
    --item-color-exc: #2ff387;
    --item-color-socket-opt: #cc33cc;
    --item-color-socket: #cc66cc;
    --item-color-normal: #555555;
    --item-color-life-opt: #8cb0ea;
    --item-color-improved: #f4cb3f;
    --item-color-anc: #0066cc;
    --item-color-anc-setopt: #ffcc66;
    --item-color-nocolor: #f4cb3f;
    --item-color-fenrir: #8cb0ea;
    --item-color-fenrir-gold: #f4cb3f;
    --item-color-errtel-title: #333333;
    --item-color-errtel-opt: #8CB0EA;
    --item-color-errtel1: #ff0000;
    --item-color-errtel2: #8cb0ea;
    --item-color-errtel3: #e6bf3c;
    --item-color-errtel4: #26e027;
    --item-color-errtel5: #5b1659;
    --item-tooltip-bg: #ffffff;
}


.sell-price-input {
    /* Colores */
    background-color: #f8f9fa; /* Fondo claro */
    color: #212529;            /* Color del texto */
    border: 1px solid #ced4da; /* Borde sutil */
    
    /* Apariencia y espaciado */
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    
    /* Elimina el contorno al hacer clic */
    outline: none;
    
    /* Transiciones suaves */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Estilo para el estado de enfoque (cuando el usuario hace clic en el input) */
.sell-price-input:focus {
    border-color: #007bff; /* Un borde de color para indicar el enfoque */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Sombra para resaltar */
}

/* Estilo para el placeholder (el texto "Price") */
.sell-price-input::placeholder {
    color: #888;
}
.blog-meta { margin-bottom: 50px;}

.dark-submit-btn {
    /* Estilos del botón */
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    
    /* Colores y borde */
    background-color: #e9ecef; /* Color claro */
    color: #212529;            /* Texto oscuro */
    border: 1px solid #dee2e6;    /* Borde sutil */
    
    /* Transición suave para los efectos */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Estilo al pasar el mouse por encima (hover) */
.dark-submit-btn:hover {
    background-color: #dee2e6; /* Un poco más oscuro */
    border-color: #adb5bd;        /* El borde se oscurece */
}

/* Estilo al hacer clic (active) */
.dark-submit-btn:active {
    background-color: #ced4da;    
    border-color: #adb5bd;
}

.carousel-container-markethome {
            width: 100%;
            max-width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }

       .carousel-container-markethome  .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

       .carousel-container-markethome  .carousel-item {
            min-width: 170px;
            width: 170px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: bold;
            color: white;
            flex-shrink: 0;
            margin-right: 15px;
        }





        .carousel-container-markethome .nav-buttons {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            pointer-events: none;
        }

       .carousel-container-markethome  .nav-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: #333;
            pointer-events: all;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-container-markethome .nav-btn:hover {
            background: white;
            transform: scale(1.1);
        }

       .carousel-container-markethome  .nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

/* Botones compactos del Header */
.nav-buttons-compact {
    display: flex;
    gap: 8px;
}

.nav-btn-sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 16px;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn-sm:hover:not(:disabled) {
    background: #4ecdc4;
    color: white;
    border-color: #4ecdc4;
    transform: translateY(-1px);
}

.nav-btn-sm:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.market-home { width:100%;display: flex
;
    justify-content: center;
text-align: center; align-content: center;align-items: center;}

/* Reset de estilos de Bootstrap que pueden interferir */
.deidad-btn {
    background: none !important;
    border: none !important;
    padding: 20px 20px 20px 20px !important;
    margin: 0 !important;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    flex: 1 !important;
	width: 100%;
}

.deidad-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.deidad-btn:hover {
    text-decoration: none !important;
}

.deidad-btn:active {
    transform: none !important;
}

/* Reset de contenedores de Bootstrap */
.deidad-container {
    padding: 14px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Botones de navegación (Vault/Market) */
.vs-btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px !important;
    border: none !important;
    font-family: 'Exo 2', sans-serif !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.gradient-btn {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important;
}

.gradient-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.5) !important;
    background: linear-gradient(45deg, #45b7d1, #4ecdc4) !important;
    color: white !important;
}

.contenedor-input {
  display: flex; /* Convierte el contenedor en un flex container */
  justify-content: center; /* Centra horizontalmente el contenido */
  align-items: center; /* Centra verticalmente el contenido */
}

/* Card principal - 30% más pequeña */
.deidad-marketplace-card {
	 font-family: 'Exo 2', sans-serif !important;
    background: rgba(15, 15, 15, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    max-width: 170px !important;
    width: 170px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
	margin-bottom: 0px;
	margin-left: 0px;
}

.deidad-marketplace-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    animation: deidad-rainbow 3s linear infinite;
}

@keyframes deidad-rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.deidad-marketplace-card:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Header de la card */
.deidad-card-header {
    margin-bottom: 8px !important;
    text-align: center !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

.deidad-item-name {
    font-family: 'Orbitron', monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: linear-gradient(45deg, #ffd700, #ff6b35) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contenedor de imagen */
.deidad-item-image-container {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
}

.deidad-item-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}


.deidad-card-body p { font-size: 12px; text-align: center}

.carousel-item .deidad-card-body p { display: none; }

.deidad-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: NONE  !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.deidad-item-image:hover img {
    transform: scale(1.1) !important;
}



/* Footer de la card */
.deidad-card-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
	text-align: center;
}

.deidad-price-section {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.deidad-price {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.deidad-currency-icon {
    font-size: 17px !important;
}

.deidad-price-amount {
    font-family: 'Orbitron', monospace !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #ffd700 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.deidad-price-amount-home {
    font-family: 'Orbitron', monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffd700 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.deidad-price-amount-home span {
    font-size: 10px !important;
    color: #666666 !important;
	margin-left: 5px;
}


.deidad-currency-name {
    font-size: 12px !important;
    color: #666666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.deidad-price-original {
    text-align: right !important;
}

.deidad-original-price {
    display: block !important;
    font-size: 14px !important;
    color: #666 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    padding: 0 !important;
}

.deidad-discount {
    display: block !important;
    font-size: 10px !important;
    color: #ff6b6b !important;
    font-weight: 700 !important;
    background: rgba(255, 107, 107, 0.2) !important;
    padding: 1px 6px !important;
    border-radius: 7px !important;
    margin-top: 1px !important;
}

/* Botones */
.deidad-action-buttons {
	width: 100%;
    display: flex !important;
    gap: 7px !important;
	text-align: center;
	align-content: center;
	align-items: center;
}

input.deidad-btn-primary {
    background: linear-gradient(45deg, #4ecdc4, #44a08d) !important;
    color: white !important;
    box-shadow: 0 4px 11px rgba(78, 205, 196, 0.4) !important;
}

input.deidad-btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(78, 205, 196, 0.6) !important;
    background: linear-gradient(45deg, #4ecdc4, #44a08d) !important;
    color: white !important;
}

input.deidad-btn-icon {
    font-size: 14px !important;
}

/* Responsive */
@media (max-width: 480px) {
    .deidad-marketplace-card {
        padding: 14px !important;
        margin: 7px !important;
    }
    
    .deidad-item-name {
        font-size: 15px !important;
    }
    
    .deidad-price-amount {

        font-size: 18px !important;
    }
}

/* Animaciones adicionales */
@keyframes deidad-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.deidad-marketplace-card {
    animation: deidad-float 6s ease-in-out infinite !important;
}

/* Efecto de partículas en el fondo */
.deidad-market::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
} 

/* Estilos del contenedor de la paginación */
.market-pagination {
    margin-top: 30px;
    text-align: center; /* Centrar la paginación */
}

/* Estilos de la lista de paginación */
.market-pagination .pagination {
    display: inline-flex; /* Para que los items se pongan en línea y el ul se centre */
    padding-left: 0;
    margin: 0;
    list-style: none;
    border-radius: .25rem; /* Pequeños bordes redondeados al contenedor general de items */
    background-color: #f8f9fa; /* Fondo claro */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Sombra suave */
    overflow: hidden; /* Asegura que los bordes redondeados se apliquen bien a los extremos */
}

/* Estilos de cada ítem de paginación (li) */
.market-pagination .page-item {
    margin: 0; /* Elimina cualquier margen entre ítems */
}

/* Estilos de los enlaces de paginación (a) */
.market-pagination .page-link {
    position: relative;
    display: block;
    padding: .75rem 1rem;
    color: #007bff; /* Azul estándar para enlaces */
    text-decoration: none;
    background-color: transparent; /* Fondo transparente por defecto */
    border: 1px solid #dee2e6; /* Borde claro */
    margin-left: -1px; /* Para que los bordes se solapen */
    transition: all 0.3s ease; /* Transición suave para todos los cambios */
}

/* Estilos para el primer y último elemento para redondear las esquinas */
.market-pagination .page-item:first-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.market-pagination .page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

/* Estado hover de los enlaces */
.market-pagination .page-link:hover {
    color: #0056b3; 
    background-color: #e9ecef; /* Fondo sutil al pasar el ratón */
    border-color: #dee2e6; 
}

/* Estado activo de la página */
.market-pagination .page-item.active .page-link {
    z-index: 1; /* Para que el borde activo no se vea cortado */
    color: #ffffff; /* Texto blanco para la página activa */
    background-color: #007bff; /* Azul primario */
    border-color: #007bff;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); 
}

/* Estado deshabilitado (si tu HTML lo usa) */
.market-pagination .page-item.disabled .page-link {
    color: #6c757d; /* Gris más oscuro para deshabilitados */
    pointer-events: none; /* No clickable */
    background-color: #2e2e2e; /* Mantener el mismo fondo de item */
    border-color: #444;
}

/* Estilos para los íconos (Font Awesome) */
.market-pagination .page-link i.fas {
    font-size: 1em; /* Ajusta el tamaño del ícono si es necesario */
    vertical-align: middle; /* Alinea el ícono con el texto si hubiera */
}

/* Estilo para el texto "sr-only" (solo para lectores de pantalla) */
.market-pagination .page-link .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Estilos del contenedor principal de la tabla */
.table-responsive.rankings-table {
    background-color: #ffffff; /* Fondo blanco */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Sombra suave */
    padding: 20px; /* Espacio interno para el contenido */
    margin-bottom: 20px;
    overflow-x: auto; /* Para tablas responsivas en pantallas pequeñas */
}

/* Estilos de la tabla en sí */
.table.table-hover.text-center {
    width: 100%;
    border-collapse: separate; /* Permite border-spacing si se usa en celdas */
    border-spacing: 0; /* Elimina espacio por defecto si no se necesita */
    color: #444444; /* Texto oscuro */
}

/* Estilos del encabezado de la tabla (th) */
.table.table-hover.text-center th.headerRow {
    background-color: #f8f9fa; /* Fondo gris muy claro */
    color: #333333; /* Texto oscuro */
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #dee2e6; /* Separador claro */
    /* Para redondear solo las esquinas superiores de los th */
    &:first-child {
        border-top-left-radius: 8px;
    }
    &:last-child {
        border-top-right-radius: 8px;
    }
}

/* Estilos para las filas del cuerpo de la tabla (tr en tbody) */
.table.table-hover.text-center tbody tr {
    transition: background-color 0.3s ease; /* Transición para el hover */
}

/* Estilos para las celdas del cuerpo de la tabla (td) */
.table.table-hover.text-center tbody tr td {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1; /* Borde inferior sutil */
    text-align: center;
    vertical-align: middle;
    color: #495057; /* Color de texto para las celdas */
    background-color: #ffffff; /* Fondo blanco */
}

/* Quitar el borde inferior de la última fila */
.table.table-hover.text-center tbody tr:last-child td {
    border-bottom: none;
}

/* Tabla Compacta (Items Inventory) */
.compact-table-container {
    padding: 10px !important;
}

.compact-table {
    font-size: 13px !important;
}

.compact-table th.headerRow {
    padding: 8px 10px !important;
    font-size: 13px !important;
}

.compact-table tbody tr td {
    padding: 6px 10px !important;
    font-size: 12px !important;
}

/* Enlace de retirar como botón pequeño */
.withdraw-link {
    display: inline-block !important;
    padding: 4px 12px !important;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1) !important;
    color: white !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(78, 205, 196, 0.3) !important;
}

.withdraw-link:hover {
    background: linear-gradient(45deg, #45b7d1, #4ecdc4) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.4) !important;
}

/* Efecto hover en las filas */
.table.table-hover.text-center tbody tr:hover {
    background-color: #f8f9fa; /* Fondo más claro al pasar el ratón */
    cursor: pointer;
}

/* Estilos para el mensaje de alerta "No items found" */
.alert.alert-info {
    background-color: #d1ecf1; /* Azul claro estándar de Bootstrap para alertas info */
    color: #0c5460; /* Texto oscuro */
    border-color: #bee5eb; /* Borde suave */
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
}

/* Puedes añadir estilos específicos si la tabla tiene contenido como imágenes de clase o enlaces */
/* .rankings-class-image { ... } */
/* .rankings-table tr td a { ... } */

/* MY VAULT */
.my-vault td.wh-item, .my-vault-ext td.wh-item {
    background: #f8f9fa;
    border: 1px #dee2e6 solid;
}

.my-vault td.wh-item-empty, .my-vault-ext td.wh-item-empty {
    background: #ffffff;
    border: 1px #dee2e6 solid;
}

@media (max-width: 767px) {
    .my-vault, .my-vault-ext {
        margin: 10px auto;
		margin-bottom: 100px;
    }
}

@media (min-width: 768px) {
    .my-vault-right {
        float: right;
    }
    .my-vault-center {
      margin: auto;
		margin-top: 50px;
    }
    .my-vault-ext {
        float: left;
    }
}


/* ITEM TOOLTIP */
.item-box {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    min-width: 200px;
    padding: 0 10px 10px 10px;
    font-size: 12px;
	border-radius: 15px;
}
.mucms-item-tooltip {
    position: absolute;
    display: none;
    min-width: 300px;
    left: 0;
    top: 0;
    padding: 5px;
    z-index: 9999;
}
.item-name {
    padding: 4px 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra suave para el reflejo */
}
.item-serial {
    color: #ffffff !important;
    padding-top: 10px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3), -1px -1px 3px rgba(0, 0, 0, 0.3); /* Blanco puro, sombra doble */
}
.item-info {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3), -1px -1px 3px rgba(0, 0, 0, 0.3); /* Blanco puro, sombra doble */
}
.item-info-section {
    padding-top: 10px;
    /* Esto es un contenedor, no texto, así que el text-shadow no aplica directamente.
       Si quieres un efecto visual, podrías considerar un box-shadow si tuviera un fondo.
       Mantendré el text-shadow si contiene texto. */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Si esta sección contiene texto */
}
.item-class-req {
    color: #b4b4b4 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra para texto gris */
}
.item-opt-jog {
    color: #ff99cc !important; /* Rosa */
    padding-top: 10px;
    text-shadow: 1px 1px 3px rgba(255, 153, 204, 0.5), -1px -1px 3px rgba(0, 0, 0, 0.3); /* Sombra del mismo color */
}
.item-opt-harmony {
    color: #ffcc00 !important; /* Amarillo/Dorado */
    padding-top: 10px;
    text-shadow: 1px 1px 3px rgba(255, 204, 0, 0.5), -1px -1px 3px rgba(0, 0, 0, 0.3); /* Sombra del mismo color */
}
.item-opt-skill {
    color: #9aadd5 !important; /* Azul grisáceo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra sutil */
}
.item-opt-luck {
    color: #9aadd5 !important; /* Azul grisáceo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra sutil */
}
.item-opt-life {
    color: #9aadd5 !important; /* Azul grisáceo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra sutil */
}
.item-opt-exc {
    color: #4d668d !important; /* Azul oscuro */
    padding-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra más oscura para texto oscuro */
}
.item-opt-anc {
    color: #9aadd5 !important; /* Azul grisáceo */
    padding-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra sutil */
}
.item-opt-socket {
    color: #4d668d !important; /* Azul oscuro */
    padding-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra más oscura para texto oscuro */
}
.item-mastery-title {
    color: var(--item-color-socket-opt) !important;
}
.item-opt-mastery {
    color: #4d668d !important;
    padding-top: 10px;
}
.item-expiration {
    color: #ff544f !important;
    padding-top: 10px;
}
.muun-name {
    color: #9aadd5;
    font-size: 14px;
    padding: 2px 0 2px 0;
}
.muun-info {
    color: #9aadd5;
}
.muun-opt-expiration {
    color: #cf6e21;
    margin-top: 1rem;
}
.muun-opt-expiration-date {
    color: #9aadd5;
}



/* ======= Section Title (Market) ======= */
:root{
  --mkt-accent: #f0841a;
  --mkt-text: #212529;
  --mkt-muted: #6c757d;
}

.haze-title{
  display:flex; align-items:center; gap:12px;
  color:var(--mkt-text);
  margin:8px 0 10px;
}

.haze-title .ht-badge{
  width:42px; height:42px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg,#ffb14b,var(--mkt-accent));
  box-shadow:0 8px 18px rgba(240,132,26,.35), inset 0 0 0 1px rgba(255,255,255,.25);
  color:#111; flex:0 0 42px;
}

.haze-title .ht-text{ line-height:1.15; }
.haze-title .ht-title{
  font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  font-size:20px;
}
.haze-title .ht-sub{
  margin-top:2px; font-size:12px; color:var(--mkt-muted);
}

/* línea divisora inferior con degradado */
.ht-divider{
  height:2px; border-radius:2px;
  margin:8px 0 18px;
  background:linear-gradient(90deg,
    rgba(240,132,26,.75) 0%,
    rgba(240,132,26,.25) 50%,
    transparent 88%);
}

/* un poquito más grande en desktop ancho */
@media (min-width: 1200px){
  .haze-title .ht-title{ font-size:22px; }
}


/* Centrar el título y la línea del bloque Market */
.haze-title--market{
  width: fit-content;          /* el ancho se ajusta al contenido */
  margin: 0 auto 6px;          /* centra el bloque completo */
}

.haze-title--market + .ht-divider{
  width: clamp(320px, 86vw, 1100px);  /* ancho fluido y tope en desktop */
  margin: 8px auto 24px;              /* centrada */
  background: linear-gradient(
    90deg,
    rgba(240,132,26,.85) 0%,
    rgba(240,132,26,.35) 50%,
    rgba(240,132,26,0) 100%
  );
}

/* Un toque de ajuste en móviles */
@media (max-width: 768px){
  .haze-title--market .ht-title{ font-size: 18px; }
  .haze-title--market + .ht-divider{ width: 92vw; }
}




/* ===== Header sección Market (centrado y estilo Hall of Fame) ===== */
.section-header--market{
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.section-header--market .section-badge{
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg,#ffb156 0%, #ff8a1f 60%, #f07f16 100%);
  box-shadow:
    0 8px 20px rgba(240,127,22,.25),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.section-header--market .section-badge i{
  color:#141414; font-size: 18px;
  filter: drop-shadow(0 0 3px rgba(0,0,0,.2));
}

.section-header--market .section-title{
  color:#fff;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(20px, 1.8vw + 10px, 28px);
  line-height: 1.1;
}

.section-header--market .section-subtitle{
  color:#c7c7c7;
  font-size: 12px;
  opacity:.7;
  margin-top: 2px;
}

/* Divider centrado con glow sutil */
.section-divider--market{
  height: 2px;
  width: clamp(320px, 86vw, 1100px);
  margin: 10px auto 26px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(252,163,17,0) 0%,
    rgba(252,163,17,.75) 12%,
    rgba(252,163,17,.75) 88%,
    rgba(252,163,17,0) 100%
  );
  box-shadow:
    0 0 22px rgba(252,163,17,.14),
    0 0 2px rgba(252,163,17,.35);
}

/* Ajuste en móviles */
@media (max-width: 768px){
  .section-header--market .section-title{ font-size: 18px; }
  .section-divider--market{ width: 92vw; }
}








/* ===== Header: Últimos Ítems en Market ===== */
.haze-title--market{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  margin: 8px auto 6px;
}

.haze-title--market .ht-badge{
  width:42px;
  height:42px;
  border-radius:12px;
  place-items:center;
  background: linear-gradient(180deg,#ffb156 0%, #ff8a1f 60%, #f07f16 100%);
  box-shadow:
    0 8px 20px rgba(240,127,22,.25),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.haze-title--market .ht-badge i{
  color:#141414;               /* icono oscuro tipo Hall of Fame */
  font-size:18px;
  filter: drop-shadow(0 0 3px rgba(0,0,0,.2));
}

.haze-title--market .ht-text .ht-title{
  color:#fff;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.1;
  font-size: clamp(20px, 1.8vw + 10px, 28px);
}

.haze-title--market .ht-text .ht-sub{
  color:#c7c7c7;
  font-size:12px;
  opacity:.8;
  margin-top:2px;
}

/* Divider con glow sutil y centrado */
.ht-divider{
  height:2px;
  width: clamp(320px, 86vw, 1100px);
  margin: 10px auto 26px;
  border-radius:999px;
  background: linear-gradient(90deg,
    rgba(252,163,17,0) 0%,
    rgba(252,163,17,.75) 12%,
    rgba(252,163,17,.75) 88%,
    rgba(252,163,17,0) 100%);
  box-shadow:
    0 0 22px rgba(252,163,17,.14),
    0 0 2px rgba(252,163,17,.35);
}

/* Ajustes mobile */
@media (max-width: 768px){
  .haze-title--market .ht-text .ht-title{ font-size: 18px; }
  .ht-divider{ width:92vw; }
}




/* ===== Panel oscuro tipo Hall of Fame para Market ===== */
/* ===== Panel Dark Moderno para Market (Optimizado) ===== */
.market-shell {
  max-width: 100%;
  margin: 0 auto 10px;               /* Margen inferior mínimo */
  padding: 10px;                     /* Espaciado interno reducido */
  border-radius: 12px;
  background: url('../img/marketw.jpg') no-repeat center center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Overlay para asegurar legibilidad si la imagen es clara */
.market-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.market-shell .haze-title--market {
  margin: 0 !important;
  padding: 5px 10px !important;
}

.market-shell .carousel-container-markethome {
  position: relative;
  height: 200px !important;        /* Forzado a 200px para eliminar el legacy min-height */
  min-height: auto !important;
  padding-bottom: 0 !important;
  margin-top: 5px;
}

/* Ocultamos botones antiguos que flotan en el medio si existen */
.market-shell .nav-buttons {
    display: none !important;
}

/* Capa de flechas, centrada verticalmente */
.carousel-container-markethome .nav-buttons{
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  height: 0 !important;          /* no ocupa alto, solo sirve de ancla */
  pointer-events: none !important;/* solo los botones reciben click */
  z-index: 100 !important;
}

/* Estilo base de cada botón */
.carousel-container-markethome .nav-buttons .nav-btn{
  position: absolute !important;
  top: 0 !important;
  transform: translateY(-50%) !important; /* centra en vertical */
  pointer-events: auto !important;

  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  line-height: 1 !important;

  background: rgba(0,0,0,.72) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.35) !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease !important;
}

.carousel-container-markethome .nav-buttons .nav-btn:hover{
  transform: translateY(-50%) scale(1.06) !important;
  background: rgba(0,0,0,.86) !important;
  border-color: rgba(255,255,255,.34) !important;
}

/* Posiciones: una a la izquierda y otra a la derecha del recuadro */
#prevBtn{ left: -90px !important; }   /* ajustá -70 / -110 a gusto */
#nextBtn{ right: -90px !important; }

/* Responsive: acercar un poco en pantallas angostas */
@media (max-width: 992px){
  #prevBtn{ left: -60px !important; }
  #nextBtn{ right: -60px !important; }
  .carousel-container-markethome .nav-buttons .nav-btn{
    width: 36px !important; height: 36px !important; font-size: 16px !important;
  }
}

/* El contenedor puede “dejar salir” las flechas */
.carousel-container-markethome{
  position: relative !important;
  overflow: visible !important;
}

/* El viewport recorta los ítems (vuelve el carrusel) */
.carousel-container-markethome .carousel-viewport{
  overflow: hidden !important;
  width: 100% !important;
}

/* Track en una sola fila + transición suave */
.carousel-container-markethome .carousel-track{
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform .35s ease !important;
}

/* Cada card ocupa su ancho, no salta de línea */
.carousel-container-markethome .carousel-item{
  flex: 0 0 auto !important;
}

/* Flechas por fuera del recuadro */
.carousel-container-markethome .nav-buttons{
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  z-index: 100 !important;
}

.carousel-container-markethome .nav-buttons .nav-btn{
  position: absolute !important;
  top: 0 !important;
  transform: translateY(-50%) !important;
  pointer-events: auto !important;

  width: 42px !important; height: 42px !important;
  border-radius: 999px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: rgba(0,0,0,.72) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.35) !important;
}

#prevBtn{ left: -70px !important; }
#nextBtn{ right: -70px !important; }

@media (max-width: 1200px){
  #prevBtn{ left: -54px !important; }
  #nextBtn{ right: -54px !important; }
}
@media (max-width: 992px){
  #prevBtn{ left: -38px !important; }
  #nextBtn{ right: -38px !important; }
  .carousel-container-markethome .nav-buttons .nav-btn{
    width: 36px !important; height: 36px !important;
  }
}





/* Footer – redes sociales, sin halo naranja y manteniendo sus colores */
section.haze-footer .social-net-area{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;

  /* NO tocar el background para respetar el color inline */
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: none !important;
  outline: none !important;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}

section.haze-footer .social-net-area i{
  color: #fff !important;
}

/* Hover sobrio, sin glow naranja */
section.haze-footer a:hover .social-net-area{
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: rgba(255,255,255,.28);
  box-shadow: none !important;
  outline: none !important;
}

/* Opcional: un poco más chico en mobile */
@media (max-width: 991px){
  section.haze-footer .social-net-area{
    width: 42px; height: 42px; margin-right: 10px;
  }
}





/* =========================================================
   FOOTER — Estilo minimalista (texto + redes)
   ========================================================= */
section.haze-footer{
  --ft-text: rgba(255,255,255,.86);
  --ft-muted: rgba(255,255,255,.62);
  --ft-border: rgba(255,255,255,.14);
  --ft-border-hover: rgba(255,255,255,.28);
}

/* Títulos del footer (ej. “Accesos Rápidos!”, “Seguinos!”) */
section.haze-footer h4{
  color: var(--ft-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .35rem 0;
}

/* Textos y párrafos */
section.haze-footer .about-us-p{
  color: var(--ft-muted);
  line-height: 1.6;
  font-weight: 400;
}

/* Enlaces de listas (Accesos Rápidos) */
section.haze-footer .ul-nostyle a{
  color: var(--ft-text);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .15s ease, color .15s ease;
}
section.haze-footer .ul-nostyle a:hover{
  color: #fff;
  border-color: var(--ft-border-hover);
}

/* ========= Redes sociales (minimal) =========
   - Mantiene el layout actual
   - Sin glow/hover naranja
   - Fondo transparente
   - Borde sutil y animación suave
*/
section.haze-footer .social-net-area{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;

  background: transparent !important;     /* ← sin fondo */
  border: 1px solid var(--ft-border);
  color: rgba(255,255,255,.78);            /* icono en blanco suave */

  box-shadow: none !important;
  outline: none !important;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, filter .15s ease;
}
section.haze-footer .social-net-area i{
  color: currentColor !important;          /* el icono hereda el color */
  font-size: 18px;
}

/* Hover sobrio (sin colores chillones) */
section.haze-footer a:hover .social-net-area{
  transform: translateY(-1px);
  color: #fff;
  border-color: var(--ft-border-hover);
  filter: brightness(1.05);
}

/* Línea divisoria final más discreta */
section.haze-footer .divider{
  border-top: 1px solid var(--ft-border);
  opacity: 1;
}

/* Créditos de la línea más baja */
section.haze-footer .lowest-section{
  color: var(--ft-muted);
  font-size: .95rem;
}
section.haze-footer .lowest-section a{
  color: #fca311;                /* tu acento */
  text-decoration: none;
}
section.haze-footer .lowest-section a:hover{
  text-decoration: underline;
}

/* Un toque de respiración entre columnas en pantallas grandes */
@media (min-width: 992px){
  section.haze-footer .footer-sections{
    padding-top: 6px;
  }
}

/* Un poquito más compacto en mobile */
@media (max-width: 575px){
  section.haze-footer .social-net-area{
    width: 40px; height: 40px; margin-right: 8px;
  }
}






/* ===== Footer: sin subrayado en enlaces ===== */
section.haze-footer a{
  text-decoration: none !important;
}
section.haze-footer a:hover{
  text-decoration: none !important;
}

/* ===== Footer: base minimal para iconos ===== */
section.haze-footer .social-net-area{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;

  background: transparent !important;   /* anula fondos inline */
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);

  box-shadow: none !important;
  outline: none !important;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
section.haze-footer .social-net-area i{
  color: currentColor !important;       /* el icono hereda el color */
  font-size: 18px;
}
section.haze-footer a:hover .social-net-area{
  transform: translateY(-1px);
}

/* ===== Colores por red (sin tocar HTML) ===== */
/* Discord */
section.haze-footer a[href*="discord"] .social-net-area{
  color:#5865F2; border-color:#5865F2;
}
section.haze-footer a[href*="discord"]:hover .social-net-area{
  background: rgba(88,101,242,.14);
}

/* Facebook */
section.haze-footer a[href*="facebook"] .social-net-area{
  color:#1877F2; border-color:#1877F2;
}
section.haze-footer a[href*="facebook"]:hover .social-net-area{
  background: rgba(24,119,242,.14);
}

/* WhatsApp */
section.haze-footer a[href*="whatsapp"] .social-net-area{
  color:#25D366; border-color:#25D366;
}
section.haze-footer a[href*="whatsapp"]:hover .social-net-area{
  background: rgba(37,211,102,.14);
}

/* TikTok (celeste oficial) */
section.haze-footer a[href*="tiktok"] .social-net-area{
  color:#25F4EE; border-color:#25F4EE;
}
section.haze-footer a[href*="tiktok"]:hover .social-net-area{
  background: rgba(37,244,238,.14);
}

/* YouTube */
section.haze-footer a[href*="youtube"] .social-net-area{
  color:#FF0000; border-color:#FF0000;
}
section.haze-footer a[href*="youtube"]:hover .social-net-area{
  background: rgba(255,0,0,.14);
}

/* Compacto en mobile */
@media (max-width:575px){
  section.haze-footer .social-net-area{
    width: 40px; height: 40px; margin-right: 8px;
  }
}


/* ===== Footer: quitar subrayado (con todo) ===== */
section.haze-footer a,
section.haze-footer a:link,
section.haze-footer a:visited,
section.haze-footer a:hover,
section.haze-footer a:active,
section.haze-footer .ul-nostyle a,
section.haze-footer .ul-nostyle a:hover {
  text-decoration: none !important;
  background-image: none !important;   /* por si el subrayado es con gradient */
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* ===== Footer: iconos minimalistas por marca ===== */
section.haze-footer .social-net-area{
  display: inline-block;
  margin-right: 12px;
  padding: 0;
  width: auto; height: auto;
  background: transparent !important;  /* ignora estilos inline de fondo */
  border: 0 !important;
  box-shadow: none !important;
  line-height: 1;
}

section.haze-footer .social-net-area i{
  font-size: 24px;
  line-height: 1;
  color: currentColor !important;      /* el ícono usa el color heredado */
  transition: transform .15s ease, opacity .15s ease, filter .15s ease;
}

section.haze-footer a:hover .social-net-area i{
  transform: translateY(-1px);
  opacity: .95;
}

/* Colores por red (sin tocar HTML, detecta por href) */
section.haze-footer a[href*="discord"]  .social-net-area{ color:#5865F2; }
section.haze-footer a[href*="facebook"] .social-net-area{ color:#1877F2; }
section.haze-footer a[href*="whatsapp"] .social-net-area{ color:#25D366; }
section.haze-footer a[href*="tiktok"]   .social-net-area{ color:#25F4EE; } /* acento celeste */
section.haze-footer a[href*="youtube"]  .social-net-area{ color:#FF0000; }

/* Compacto en mobile */
@media (max-width:575px){
  section.haze-footer .social-net-area{ margin-right:10px; }
  section.haze-footer .social-net-area i{ font-size:22px; }
}



/* Footer: separar iconos de redes (margen en el <a>) */
section.haze-footer .right-section-of-3 a{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-right: 45px !important;   /* ← separa entre iconos */
  margin-bottom: 8px !important;    /* wrap en 2 líneas si hace falta */
  text-decoration: none !important;
}

/* quitar margen interno del contenedor del ícono */
section.haze-footer .right-section-of-3 .social-net-area{
  margin: 0 !important;
  padding: 0 !important;
}

/* que el último no deje “colita” */
section.haze-footer .right-section-of-3 a:last-child{
  margin-right: 0 !important;
}

/* (opcional) si querés aún más orden, forzá inline en el wrap */
section.haze-footer .right-section-of-3 .row > div > a{
  vertical-align: middle;
}



/* ==========================================================================
   USERCP MODERN UI (My Account)
   ========================================================================== */

:root {
    --purple-900-50: rgba(7, 4, 18, 0.5);
    --purple-800-30: rgba(26, 21, 59, 0.3);
    --overlay-white-light: rgba(255, 255, 255, 0.05);
    
    /* Stats Colors */
    --stat-strength-dark: #ff4b2b;
    --stat-strength-medium: #ff416c;
    --stat-strength-rgb: 255, 75, 43;
    
    --stat-agility-dark: #00d2ff;
    --stat-agility-medium: #3a7bd5;
    --stat-agility-rgb: 0, 210, 255;
    
    --stat-vitality-dark: #a8ff78;
    --stat-vitality-medium: #78ffd6;
    --stat-vitality-rgb: 168, 255, 120;
    
    --stat-energy-dark: #f093fb;
    --stat-energy-medium: #f5576c;
    --stat-energy-rgb: 240, 147, 251;
    
    /* Global Colors (Adapted to Light Theme) */
    --gold-color: #f4cb3f;
    --blue-color: #4ecdc4;
}

/* Base Cards */
.admin-table-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

/* Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.admin-stat-card {
    background: #f8f9fa;
    border: 1px solid #f1f3f5;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-color);
}

.admin-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.admin-stat-title {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.admin-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-stat-icon.primary { background: rgba(78, 205, 196, 0.1); color: #4ecdc4; }
.admin-stat-icon.success { background: rgba(168, 255, 120, 0.1); color: #44a08d; }
.admin-stat-icon.danger { background: rgba(255, 75, 43, 0.1); color: #ff4b2b; }
.admin-stat-icon.info { background: rgba(0, 210, 255, 0.1); color: #00d2ff; }

.admin-stat-value {
    color: #212529;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.admin-stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.admin-stat-change.positive { color: #44a08d; }

/* Character Cards */
.character-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Progress Bars */
.stat-progress-container {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.stat-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stat-bar-strength { background: linear-gradient(90deg, var(--stat-strength-dark), var(--stat-strength-medium)); }
.stat-bar-agility { background: linear-gradient(90deg, var(--stat-agility-dark), var(--stat-agility-medium)); }
.stat-bar-vitality { background: linear-gradient(90deg, var(--stat-vitality-dark), var(--stat-vitality-medium)); }
.stat-bar-energy { background: linear-gradient(90deg, var(--stat-energy-dark), var(--stat-energy-medium)); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .account-info-grid {
        grid-template-columns: 1fr !important;
    }
}
