.table.light{
	    color: #000;
		border-bottom-color: #000000;
}
.table.dark{
	    color: #aaa;
		border-bottom-color: #000000;
}
.table.dark tr{
	border-bottom-color: #000000;
	border-bottom: 1px solid;
	border-bottom-color: #000;
	/*background: #00000047;*/
} 
.table.dark td{
	padding-top: 1rem;
	padding-bottom: 1rem;
} 
.text-success {
    color: #b8d935 !important;
}
	
.text-danger {
    color: #f06445 !important;
}
.text-warning {
    color: #e8c444 !important;
}	
.inventory_title.section_title {
  display: flex;                 /* 1. Activa el modo Flexbox, poniendo los elementos en fila */
  justify-content: space-between; /* 2. Empuja el primer elemento a la izquierda y el último a la derecha */
  align-items: center;           /* 3. (Opcional) Alinea verticalmente los textos si tienen alturas diferentes */
}
.section_plus {
  float: right; /* Hace que este elemento flote a la derecha */
}

/* Es buena práctica añadir un "clearfix" al contenedor padre para evitar problemas de layout */
.inventory_title.section_title::after {
  content: "";
  display: table;
  clear: both;
}

/* --- INICIO DE LA SOLUCIÓN --- */

/* 1. Preparamos el contenedor de cada miembro. */
.members-item {
  position: relative; /* Indispensable para que el ::after se posicione correctamente. */
  overflow: hidden;   /* Evita que cualquier parte del fondo se desborde. */
}

/* 2. El texto con la información del miembro. */
.members-item .info {
  position: relative; /* Asegura que el texto esté en su propio contexto de apilamiento. */
  z-index: 2;         /* ¡Importante! Pone el texto por encima de la imagen de fondo. */
  padding: 12px;      /* Añadimos un poco de padding para que no se pegue al borde. */
}

/* 3. Creamos la capa para la imagen de fondo usando ::after */
.members-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;           /* Lo pegamos a la derecha. */
  height: 100%;       /* Ocupará el 100% de la altura del .members-item. */
  width: 257px;       /* Tendrá el ancho FIJO de un solo personaje. */
  
  z-index: 1;         /* Se coloca detrás del texto (.info) pero encima del fondo del .members-item. */
  opacity: 0.5;      /* Lo hacemos semitransparente para un efecto de marca de agua. Ajusta a tu gusto. */

  /* Propiedades clave del fondo que son iguales para todos */
  background-repeat: no-repeat;
  background-size: 2570px 1024px; /* Tamaño real de la imagen sprite completa. */
}
.members-item:hover::after {
  opacity: 0.9; /* La opacidad se vuelve completa */
}

/* 4. Asignamos la imagen de fondo (sprite sheet) a cada raza. */
/* ¡OJO! Aplicamos la imagen al pseudo-elemento ::after, no al div principal. */

.raza-1::after { background-image: url('../img/profile/1.webp'); }
.raza-2::after { background-image: url('../img/profile/2.webp'); }
.raza-4::after { background-image: url('../img/profile/4.webp'); }
.raza-8::after { background-image: url('../img/profile/8.webp'); }
.raza-16::after { background-image: url('../img/profile/16.webp'); }
.raza-32::after { background-image: url('../img/profile/32.webp'); }
.raza-64::after { background-image: url('../img/profile/64.webp'); }
.raza-128::after { background-image: url('../img/profile/128.webp'); }


/* 5. Asignamos la posición del fondo para cada nivel. */
/* ¡OJO! Aplicamos la posición al pseudo-elemento ::after. */

/* Fila 1 */
.level-1::after   { background-position: 0px 0px; }
.level-6::after   { background-position: -257px 0px; }
.level-12::after  { background-position: -514px 0px; }
.level-20::after  { background-position: -771px 0px; }
.level-30::after  { background-position: -1028px 0px; }
.level-38::after  { background-position: -1285px 0px; }
.level-46::after  { background-position: -1542px 0px; }
.level-52::after  { background-position: -1799px 0px; }
.level-58::after  { background-position: -2056px 0px; }
.level-64::after  { background-position: -2313px 0px; }

/* Fila 2 */
.level-68::after  { background-position: 0px -512px; }
.level-70::after  { background-position: -257px -512px; }
.level-74::after  { background-position: -514px -512px; }
.level-80::after  { background-position: -771px -512px; }
.level-86::after  { background-position: -1028px -512px; }
.level-96::after  { background-position: -1285px -512px; }
.level-106::after { background-position: -1542px -512px; }
.level-116::after { background-position: -1799px -512px; }
.level-119::after { background-position: -2056px -512px; }
.level-129::after { background-position: -2313px -512px; }

/* --- FIN DE LA SOLUCIÓN --- */
/* Estilos para botones activos */
        #video-container {
            position: relative;
          
            overflow: hidden;
        }
        video {
            width: 300px;
            height: 100%;
            /* object-fit: cover; */
        }
.nav-item a.active {
    background-image: url('../img/profile/btn_o.png');
    color: #fed494;
}

/* Mantener el efecto hover para botones no activos */
.nav-item a:hover:not(.active) {
    background-image: url('../img/profile/btn_o.png');
    color: #fed494;
	background-color: #412440;
}
.nav-bodega a {
    display: block;
    width: 100px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    color: #c39b6c;
    font-size: 16px;
    background-image: url(../img/profile/btn_n.png);
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.3sease, background-color 0.3sease;
}	
.nav-bodega{
	padding:5pt;
	min-height: 32px;
	/* min-width: 150px; */
	display: inline-flex;
	/* float:left; */
}
.nav-bodega a.active {
	background-color: #000;
    color: #fed494;
}
.guild_cargo_nav{
	margin: 0 auto;
	text-align: center;
	width: 100%;
	background: #0000004a;
	border: 1px solid #27253b;
	border-bottom:none;
	max-width: 458px;
	margin: 0 auto;
	color: #ffffff;
	padding: 15px;
}
.cargo_body_guild {
    background: #0000004a;
    border: 1px solid #27253b;
    max-width: 458px;
    /* height: 700px; */
    margin: 0 auto;
    color: #ffffff;
    padding: 15px;
}

/* Mantener el efecto hover para botones no activos */
.nav-bodega a:hover:not(.active) {
    color: #ffbe5b;
	background-color: #412440;
}		
	
/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('../img/profile/background_light.png');
    background-size: cover;
    background-position: center;
}
.header-nav{
	margin: 0 auto;
}

/* Contenedor principal */
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* margin: 10px; */
    /* padding: 10px; */
}

/* Secciones */
.left-section,
.center-section,
.right-section {
    width: 30%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Secciones internas */
.left-section .top-box,
.right-section .right-top-box,
.center-section .center-top-box {
    margin-bottom: 10px;
}
.info_stats{
	display:flex;
}
.info_logros{
	display:flex;
}
.info_items{
	display:flex;
}
.info_extra{
	display:flex;
}
.left-section .main-box,
.center-section .center-main-box {
    height: calc(100% - 60px);
}

.right-section .right-box1,
.right-section .right-box2 {
    /* height: calc(70% - 10px); */
	height: auto;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    height: 50px;
}

/* Estilos especÃƒÂ­ficos */
.character_content {
    text-align: center;
}

.character_content img {
    width: 100%;
    max-width: 300px;
}

.center {
    text-align: center;
}

.character_name {
    color: #cba36d;
    font-size: 32px;
    text-shadow: 2px 3px 2px #000000;
}

.character_bar {
    margin-top: -25px;
}
.character_guild img{
	margin-bottom: -10px;
}
.character_guild {
    color: #a887e9;
    font-size: 24px;
    text-shadow: -1px 2px 2px #000000;
    margin-top: -15px;
}

.character_bar img {
    width: 100%;
}

.inventory_bar img {
    width: 100%;
}

.section_body {
    background: #0000004a;
    border: 1px solid #27253b;
    max-width: 458px;
    min-height: 200px;
    margin: 0 auto;
    color: #ffffff;
    padding: 15px;
}

.stats_body {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    scrollbar-width: thin;
    scrollbar-color: #8f7256 #000000;
}

.section_title {
    max-width: 458px;
    background: linear-gradient(0deg, rgba(0,0,0,0.28) 0%, rgba(255,255,255,0) 100%);
    margin: 0 auto;
}

.inventory_title {
    height: 50px;
    color: #c39b6c;
    line-height: 50px;
    font-size: 18px;
}

/* Estilos del header */
header {
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-item.fixed img {
    display: block;
    width: 52px;
    height: 56px;
}

.nav-item a {
    display: block;
    width: 204px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    text-decoration: none;
    color: #c39b6c;
    /* font-family: Arial, sans-serif; */
    font-size: 16px;
    background-image: url('../img/profile/btn_n.png');
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease, background-color 0.3s ease;
}

.nav-item a:hover {
	color: #fed494;
    background-image: url('../img/profile/btn_o.png');
}

.header-nav ul li {
    display: flex;
}

/* Footer */
.bar_content {
    height: 10px;
    background-image: url('../img/profile/bottom_bar.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.footer .footer-content {
    position: absolute;
}

.footer .btn-bar {
    width: auto;
    height: auto;
    margin-top: 4px;
}

.equipment-img {
    width: 60px;
}

.equipment-section {
    display: flex;
    flex-direction: column;
    gap: 0px;
    background: #000;
    padding: 2px;
    outline: 1px solid #6b5144;
    border: 1px solid #c1a17c;
    height: fit-content;
    margin-top: 15px;
    margin-left: 30px;
}

.info_content {
    display: flex;
    margin: 0 auto;
}

.info_body {
    min-width: 380px;
    padding: 20px;
}

.section_txt::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 36px;
    background-image: url('../img/profile/prev.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}
.section_plus::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 36px;
    background-image: url('../img/profile/plus.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}
.section_next::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 36px;
    background-image: url('../img/profile/next.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}
.btn_bar {
    display: inline-block;
    width: 237px;
    height: 49px;
    background-image: url('../img/profile/btn_bar.png');
}

.bar_txt {
    display: inline-block;
    width: 237px;
    text-align: center;
    line-height: 49px;
    color: #ffe0a3;
    font-size: 18px;
}
@media (max-width: 1800px) {
.nav-item.fixed img {
    width: 42px;
    height: 46px;
}
.nav-item a {
	width: 160px;
    height: 46px;
    line-height: 46px;
	}
}
@media (max-width: 1600px) {

	.character_name {
		margin-bottom: 10px;
	}
	.container {
    margin: 0px;
    padding: 0px;
}
}
@media (max-width: 1500px) {
	.footer {
		margin-top: 20px;
	}
}	
@media (max-width: 1400px) {
	.nav_right{
		margin-left: -30px;
	}
}
@media (max-width: 1300px) {
	.nav_right{
		margin-left: -70px;
	}
}
@media (max-width: 1200px) {
	.center-section {
        width: 30%;
    }

    .nav-item a {
        width: 130px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
	.nav-item.fixed img {
        width: 32px;
        height: 36px;
    }
	.left-section, .right-section {
		/*width: unset;*/
		padding: 30px 0px 30px 0px;
	}
	.container {
    margin: 0px;
    padding: 0px;
	}
	.left-section, .center-section, .right-section {
    padding: 0px;
	}
	.nav_right{
		margin-left: -20px;
	}	
}
@media (max-width: 1100px) {
	.footer {
		margin-top: 40px;
	}
}
@media (max-width: 1024px) {
    .center-section {
        width: 50%;
    }
	.equipment-section {  
		margin-left: 0px;
	}
	.info_body {
		min-width: unset;
		padding: 0px;
	}
    .nav_right {
        margin-left: -70px;
    }
	.footer {
		margin-top: 50px;
	}
	
}
/* Media Queries para pantallas pequeÃƒÂ±as */
@media (max-width: 768px) {
    /* Ajustes del contenedor principal */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-section,
    .center-section,
    .right-section {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
    }
	.section_title{
	 max-width:100%;
	}
	.section_body {
		max-width: 100%;
	}
	.nav_right {
        margin-left: 0px;
    }
    /* Ocultar botones de navegaciÃƒÂ³n laterales */
    .boton-left,
    .boton-right {
        display: none !important;
    }

    /* Ajustes del menÃƒÂº de navegaciÃƒÂ³n */
    .header-nav {
        width: 100%;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header-nav ul li {
        width: 100%;
    }

    .nav-item a {
        width: 100%;
        padding: 10px 20px;
        height: auto;
        line-height: normal;
        background-image: none;
        background-color: #15151f;
        color: #ffffff;
        border: none;
        border-radius: 4px;
        margin: 5px 0;
        font-size: 16px;
    }

    .nav-item a:hover {
        background-color: #412443;
		background-image: none;
    }

   	.character_name {
        font-size: 50px;
    }
	.character_guild {
        font-size: 36px;
    }
	.character_guild img{
		margin-bottom: -8px;
		width: 40px;
		height: 40px;
	}
    .equipment-img {
        width: 40px;
    }

    .character_content img {
        max-width: 200px;
    }

    .info_body {
        min-width: auto;
        width: 100%;
        padding: 10px;
    }

    /* Ajustes de secciones internas */
    .left-section .main-box,
    .center-section .center-main-box,
    .right-section .right-box1,
    .right-section .right-box2 {
        height: auto;
		
    }
.info_stats{
        min-width: auto;
        width: 100%;
        padding: 10px;
		
}
.info_logros{
        min-width: auto;
        width: 100%;
        padding: 10px;
		
}
.info_items{
        min-width: auto;
        width: 100%;
        padding: 10px;
		display: block;
		}
.info_extra{
min-width: auto;
        width: 100%;
        padding: 10px;
		display: block;
}		
    /* Ajustes de scroll en secciones */
    .stats_body,
    .inventory_body {
        min-height: 140px;
        overflow-y: auto;
    }
	.character_bar img {
    width: unset;
	}
	.btn_small{
		display:block;
	}
	.btn_big{
		display:none;
	}
	.nav-item a.active {
    background-image: none;
    color: #fed494;
	}
	.nav-item a:hover:not(.active) {
    background-image: none;
    color: #fed494;
    background-color: #412440;
}
	
}
  /* Estilos para el nivel del personaje */
        .character_info {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .character_level {
            position: relative;
            width: 58px;
            height: 58px;
            margin-right: 10px;
        }

        .character_level img {
            width: 100%;
            height: auto;
        }

        .level_text {
            position: absolute;
            top: 46%;
			left: 46%;
			transform: translate(-50%, -50%);
			color: #cba36d;
            font-size: 16px;
            font-weight: bold;
            text-shadow: 1px 1px 2px #000;
        }

        .character_name {
            color: #cba36d;
            font-size: 32px;
            text-shadow: 2px 3px 2px #000000;
        }

        /* Ajustes para pantallas pequeÃƒÂ±as */
        @media (max-width: 768px) {
		
            .character_level {
                width: 40px;
                height: 40px;
            }

            .level_text {
                font-size: 12px;
            }

            .character_name {
                font-size: 24px;
            }
			 .edit_nick_btn {
                width: 40px;
                height: 40px;
            }

            .modal_content {
                width: 90%;
                height: auto;
            }
        }
		 /* Estilos para el botÃƒÂ³n de editar nick */
        .edit_nick_btn {
            width: 34px;
            height: 34px;
            margin-left: 10px;
            cursor: pointer;
        }

        /* Estilos para el modal */
        .modal {
            display: none; /* Oculto por defecto */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro con transparencia */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal_content {
            background-color: #1c1b25;
			width: 540px;		
			padding: 30px;
			box-sizing: border-box;
			position: relative;
			text-align: center;
			border: 1px solid #4b3e2c;
        }

        .modal_title {
            color: #fed494;
            font-size: 24px;
            margin-bottom: 10px;
        }

        .modal_description {
            color: #737373;
            font-size: 16px;
            margin-bottom: 20px;
        }

        .modal_form input[type="text"] {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            box-sizing: border-box;
            margin-bottom: 20px;
        }
.modal_form input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
        .modal_buttons {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .modal_buttons button {
            width: 225px;
            height: 50px;
            background-size: cover;
            border: none;
            cursor: pointer;
        }

        .btn_aceptar {
            background-image: url('../img/profile/btn_aceptar_n.png');
        }

        .btn_aceptar:hover {
            background-image: url('../img/profile/btn_aceptar_o.png');
        }

        .btn_cancelar {
            background-image: url('../img/profile/btn_cancelar_n.png');
        }

        .btn_cancelar:hover {
            background-image: url('../img/profile/btn_cancelar_o.png');
        }
		.btn_sorteo {
            background-image: url('../img/profile/btn_sorteo_n.png');
        }

        .btn_sorteo:hover {
            background-image: url('../img/profile/btn_sorteo_o.png');
        }
		.btn_enviar {
            background-image: url('../img/profile/btn_enviar_n.png');
        }

        .btn_enviar:hover {
            background-image: url('../img/profile/btn_enviar_o.png');
        }
.item {
	float:left;
	display:inline-block;
	margin:1px;
	width: 32px;
	height: 32px;
	background: #00000054;
}
.cargo-orb{

}
.cargo_body {
    background: #0000004a;
    border: 1px solid #27253b;
    max-width: 500px;
    height: 450px;
    margin: 0 auto;
    color: #ffffff;
    /* padding: 10px; */
}
.inventory_body {
    background: #0000004a;
    border: 1px solid #27253b;
    max-width: 458px;
    /* height: 200px; */
    margin: 0 auto;
    color: #c39b6c;
    padding: 15px;
}
/**
.scroll{
	overflow-y: scroll;
	max-height: calc(100vh - 200px);
	scrollbar-width: thin;
	scrollbar-color: #8f7256 #000000;
}**/
.content-information {padding: 15px;}
.content-information h3{
	color:#fed494;
}
.chakras_info{
	padding:10px;
}
.chakra-contenedor {
    border-radius: 0;
    background: #0b0b13;
    border: 1px solid #000;
}
.vitalidad {
    background-color: #4c2757;
}

.agilidad {
    background-color: #4c2757
}

.fuerza {
    background-color: #4c2757
}

.energia {
    background-color: #4c2757
}
/**
.vitalidad {
    background-color: #7b0000;
}

.agilidad {
    background-color: #0092a6
}

.fuerza {
    background-color: #8b6000
}

.energia {
    background-color: #497700
}**/
.chakras_content{}
.chakra-bar {
    color: #000 !important;
    border-radius: 0px;
    height: 8px;
    vertical-align: middle;
    line-height: 50%;
    font-size: 14px;
    max-width: 100%;
}
.canvasjs-chart-canvas{
	width:100%;
}
.itm{
	width:32px;	
    display: inline-block;
}
.guild_logo_main {
    position: relative;
    width: 58px;
    height: 58px;
    text-align: center;
    margin: 0 auto;
}
.throne_content{
	text-align: center;
}
.left-section, .center-section, .right-section {
    /* width: 30%; */
    padding: 30px;
    display: flex
;
    flex-direction: column;
}
.center-section-guild{
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.modal_normal_text {
    color: #c5c5c5;
    font-size: 16px;
	margin-left: 5px;
}
.center{
	text-align: center;
	margin: 0 auto;
}
.select2-container--default{
	width:0!important;
}

.btn-craft-test-guild {
    background-color: #28a745; /* Un color verde para distinguirlo */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1em;
    display: block; /* Para que ocupe su propia línea si está solo */
    margin: 15px auto; /* Centrarlo si es un bloque */
    text-align: center;
}
.btn-craft-test-guild:hover {
    background-color: #218838;
}
.btn-craft-test-guild:disabled { /* Aunque aquí no se usa, es bueno tenerlo */
    background-color: #555;
    color: #999;
    cursor: not-allowed;
}
.btn.btn-morado{
padding:calc(0.55rem + 1px) calc(1.25rem + 1px);
background-color:#372141;
color:#c39b6c;
}
.btn.btn-morado:hover{
background-color:#1d0029;
color:#c39b6c;
}
.btn.btn-secondary {
    color: #b7b7b7;
    background-color: #00000070;

}
.craft-item-container{
	background: #00000059;
    padding: 10pt;
    margin-bottom: 5pt;
}
.craft-item-container h5{
	color:#fff;
}
.craft-item-container h4{
	color:#c39b6c;
}
.recipe-ingredients-section h4 { /* Ajuste al título de ingredientes */
    font-size: 1.1em;
    color: #c39b6c;
    margin-top: 0; /* Quitar o ajustar margen superior si estaba en 0 */
    margin-bottom: 15px; /* Aumentar espacio antes de los íconos */
    padding-bottom: 5px;
    border-bottom: 1px dashed #4a4a6a;
    text-align: left; /* Alinear a la izquierda o centro según preferencia */
}

.ingredients-icon-row {
    display: flex;
    flex-wrap: wrap; /* Permitir que los ítems pasen a la siguiente línea si no caben */
    gap: 10px; /* Espacio entre los íconos de los ingredientes */
    justify-content: flex-start; /* Alinear al inicio, o 'center' si prefieres */
    padding-top: 5px; /* Pequeño espacio arriba de los íconos */
}

.ingredient-icon-item {
    position: relative; /* Para el texto superpuesto */
    /* id="event" se usa para qTip, no necesita estilos directos aquí usualmente */
}

.ingredient-icon-item a {
    display: block; /* Para que el 'a' contenga la imagen correctamente */
}

.ingredient-icon-display {
    width: 36px;  /* Tamaño de los íconos de ingredientes */
    height: 36px;
    border: 1px solid #505070; /* Borde sutil */
    border-radius: 4px;
    object-fit: contain;
    background-color: rgba(0,0,0,0.3); /* Fondo oscuro ligero para el ícono */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.ingredient-icon-item a:hover .ingredient-icon-display {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(195, 155, 108, 0.7); /* Sombra dorada al hacer hover */
}


/* Texto superpuesto para cantidad y refinación (opcional) */
.ing-icon-overlay-text {
    position: absolute;
    bottom: -2px; /* Ajusta para la posición vertical */
    right: -2px;  /* Ajusta para la posición horizontal */
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7em; /* Más pequeño */
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    pointer-events: none; /* Para que no interfiera con el tooltip del 'a' */
    white-space: nowrap; /* Evitar que el texto se parta */
}

/* Ocultar la lista de detalles anterior si ya no se usa */
.ingredients-list-items, .ingredient-list-item, .ingredient-info {
    /* display: none;  Descomenta si reemplazaste completamente la lista anterior */
}

.no-ingredients { /* Estilo para el mensaje de no ingredientes */
    color: #aaa;
    font-style: italic;
    text-align: center;
    padding: 10px 0;
}
.craft-reward-display { /* Modificar el existente o añadir */
    display: flex;
    flex-direction: column; /* Título arriba, fila de íconos abajo */
    align-items: center; /* Centrar el título y la fila de íconos */
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 5px;
    width: 100%; /* Asegurar que ocupe el ancho disponible */
}

.rewards-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Espacio entre íconos de recompensa */
    justify-content: center; /* Centrar los íconos si hay pocos */
    margin-top: 5px; /* Espacio después del título "Recompensa(s):" */
}

.reward-icon-item {
    position: relative; /* Para el texto superpuesto de cantidad */
    /* id="event" es para JS, no necesita estilo directo */
}

.reward-icon-item a {
    display: block;
}

.reward-icon-display { /* Estilo para los íconos de recompensa */
    width: 40px;  /* Tamaño un poco más grande para recompensas */
    height: 40px;
    border: 1px solid #606080;
    border-radius: 4px;
    object-fit: contain;
    background-color: rgba(0,0,0,0.2);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.reward-icon-item a:hover .reward-icon-display {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(224, 205, 161, 0.7); /* Sombra dorada más clara */
}

/* Texto superpuesto para cantidad de recompensa (opcional) */
.reward-icon-overlay-text {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.65em;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* Ajustes para el contenedor de ingredientes si es necesario */
.recipe-ingredients-section {
    margin-top: 15px; /* Añadir un poco de espacio si las recompensas están arriba */
}

/* Estilos para los íconos de ingredientes (ya los tenías, asegúrate que sean consistentes) */
.ingredient-icon-display { /* Clase que usaste para ingredientes */
    width: 36px;
    height: 36px;
    /* ... otros estilos ... */
}
.ing-icon-overlay-text { /* Clase que usaste para ingredientes */
    /* ... estilos ... */
}
.tanys_clan{
	font-size:14pt;
	color:#fff;
}
.content_rupiah_buttons {
  display: flex; /* 1. Activa el modo Flexbox */
  justify-content: space-between; /* 2. (Opcional) Asegura el espaciado */
  gap: 10px; /* 3. (Opcional) Añade un pequeño espacio entre los botones */
}

.content_rupiah_buttons button {
  flex-grow: 1; /* 4. Hace que ambos botones crezcan para ocupar el espacio disponible */
  width: 50%;   /* 5. Asigna un ancho base del 50% a cada botón */
}
.members-container {
    max-height: 800px; /* Altura máxima ajustable */
    
    padding: 10px;
    background-color: #2b2b40; /* Fondo oscuro para el contenedor */
    border: 1px solid #444;
    border-radius: 10px;
}

.members-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background-color: #3a3a4f; /* Fondo oscuro para cada elemento */
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.members-item:hover {
    background-color: #4a4a6a; /* Cambio de color al pasar el ratón */
}

.members-item .info {
    display: flex;
    flex-direction: column;
}

.members-item .name {
    font-weight: bold;
    color: #f5f5f5; /* Texto claro */
	font-size: 12pt;
}

.members-item .rank {
    font-size: 14px;
    font-weight: bold;
    color: #c39b6c; /* Color resaltado para el rango */
}

.members-item .level {
    font-size: 13px;
    color: #aaa; /* Color suave para el nivel */
}

.members-item .tribe {
    font-size: 13px;
    color: #b0b0d4; /* Color tenue */
}

.inventory_title.section_title {
    background-color: #3a3a4f; /* Fondo oscuro para el título */
    color: #f5f5f5;
}