.iconsClass img {
    width: 3em;
    height: 3em;
    aspect-ratio: 1;
}

#contenido {
    background-image: url('../image/backgrounds/banner_caza.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.btn-profesion {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.btn-personaje {
    width: 27%;
    height: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #f9f1dc;
    border: 2px solid #8b6a2b;
}

.menu-btn {
    width: 27%;
    height: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #336699;
    border: 2px solid #FFFFFF;
    cursor: pointer;
}


.myInput {
    width: 200px;
    height: 40px;
    margin-bottom: 15px;
    border: 1px solid black;
    font-size: 20px;
    color: #3b2a12;
    outline: none;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
}

#selectClases{
     width: 150px !important;
}

#nivelPersonaje{
     width: 100px !important;
}


.bgForm{
    background-image: url('../image/backgrounds/background_profesiones.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#logout {
    color: #fff;
}


.pointer{
    cursor: pointer;
}

.text-shadow {
    text-shadow:
       -1px -1px 0 #000,  
        1px -1px 0 #000,
       -1px  1px 0 #000,
        1px  1px 0 #000;
}

.bg012263{
    background-color: #012263;
}

.bgFFFFCC{
    background-color: #FFFFCC;
}

.bg000066{
    background-color: rgba(0, 0, 102, 0.7); /* solo el fondo */ 
}

.grupo-box {
    background-color: rgba(255, 255, 255, 0.4); /* solo el fondo */
    border-radius: 12px;
    min-height: 220px;     /* incluye padding interno */
}

/* Cada grupo de profesiones */
.grupo {
    min-height: 200px;     /* altura mínima que mantenga el grupo visible */
    flex-wrap: wrap;       /* que los botones se acomoden en varias filas */
    gap: 0.5rem;           /* separación entre botones */
    transition: none;      /* evita animaciones que “muevan” el grupo */
}






.btn-personaje-green {
    background-color: #009933;  /* verde sólido */
    border: 2px solid #006633;  /* borde más oscuro */
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-personaje-green:hover {
    background-color: #00b33c; /* verde un poco más claro al hover */
    border-color: #007733;
}

#resumen-rangos {
    flex-wrap: wrap; /* que los recuadros pasen a la siguiente fila si no caben */
    gap: 1rem;       /* espacio entre recuadros */
}

.rango-box {
    width: 200px;             /* ancho fijo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* mantiene la distribución */
    padding: 0.5rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    text-align: center;
    background-color: #f8f9fa;
}

.rango-box img.img-fixed {
    width: 40px;          /* ancho fijo de la imagen */
    height: 40px;         /* alto fijo de la imagen */
    object-fit: contain;   /* mantiene proporción */
}

.color-Grandmaster{
    background-color: #E8C348
}

.color-Master{
    background-color: #CCCCCC
}

.color-Journeyman{
    background-color: #DE7F50
}

.color-Apprentice{
    background-color: #9F8764
}

.color-Novice{
    background-color: #AFC086
}

.bg907318{
background-color: #907318;
}

.tablon-scroll {
    max-height: 85vh;      /* altura máxima */
    overflow-y: auto;     /* scroll vertical */
    overflow-x: hidden;   /* evita scroll horizontal */
    padding-right: 10px;  /* evita que el scroll tape el contenido */
}

/* LOGIN */
/* Fondo naranja del modal */
/* Área usable (80%) */
.modal {
    padding-left: 20vw;   /* ancho del menú */
}

/* Centrado dentro del 80% */
.modal-dialog {
    margin: auto;
}

/* Evita desplazamientos raros */
.modal-dialog-centered {
    min-height: calc(100% - 1rem);
}

/* Opcional: suaviza visualmente */

.login-field,
.login-field label,
.login-field input,
.login-field2,
.login-field2 label,
.login-field2 input,
.login-btn,
.login-footer {
    position: relative;
    z-index: 3;           /* 👈 TODO ENCIMA */
}

.login-modal {
     position: relative;
    overflow: hidden;   /* 🔥 CLAVE */
    background: #FFFFFF;
    border-radius: 18px;
    margin-left: auto;
    margin-right: auto;
}

.login-field input {
    width: 50%;   /* antes 60% */
}

.login-field2 input{
    width: 100%;   /* antes 60% */
}

/* Caja azul */
.login-body {
    background: #0b0f6b;
    border-radius: 14px;
    border: 4px solid #ffffff;
    padding: 30px;
    position: relative;
    color: #fff;
    overflow: hidden;
}

/* Imagen de fondo */
.login-logo::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -80px;               /* ← sube para cubrir header */
    width: 550px;
    height: 550px;
    background: url("../image/backgrounds/logotransparencia.png") no-repeat center;
    background-size: contain;
    opacity: 0.85;
    z-index: 1;           /* 👈 FONDO */
}

/* Header */
.login-header {
    background: #0b0f6b;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    padding: 14px 24px;
    border: 4px solid #fff;
    border-radius: 14px;
}

/* Campos */
.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.login-field input {
    background: #ffffff !important;
    color: #000;
    opacity: 1 !important;
    border: none;
    box-shadow: none;
    height: 28px;
}

/* Botón */
.login-btn, .login-register {
    background: #6cc48a;
    border: none;
    padding: 6px 24px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    display: block;
    margin-left: 360px;
    margin-top: 24px;
}

.login-register{
    margin-left: 300px !important;
}

/* Footer */
.login-footer {
    margin-top: 20px;
    color: #ffd000;
    font-size: 15px;
}