.brand-logo {
    height: 75px;
    top: 9px;
    position: relative;
    left: -25px;
}

/* Sección del logo de Telefónica y título */
.brand-section {
    display: flex;
    align-items: center;
    gap: 5px;
}

.telefonica-logo {
    position: relative;
    width: 50px;
    height: 50px;
    margin-top: 3px;
    margin-left: 0px;
}

.telefonica-logo img {
    /*width: 100%;*/
    height: 85px;
}

.brand-title {
    display: flex;
    flex-direction: column;
    margin-top: 113px;
    margin-left: -31px;
    text-align: right;
    line-height: 39px;
}

.brand-title h1 {
    font-size: 60px;
    margin: 0;
    font-family: sans-serif;
    color: var(--font-color-logo);
}

.brand-title span {
    color: var(--credit-color);
    font-family: monospace;
    font-size: 28px;
    opacity: 0.9;
}

/* Sección del creador */
.creator-section {
    display: none;
    align-items: center;
    gap: 1rem;
    top: -15px;
    position: relative;
    right: 100px;
}

.creator-info {
    text-align: right;
    font-family: monospace;
}

.creator-info .label {
    font-size: 7px;
    color: var(--credit-color);
    opacity: 0.8;
}

.creator-info .name {
    font-size: 18px;
    color: var(--front-color);
}

.dragon-logo {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dragon-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(var(--front-color-rgb), 0.3));
    transition: all 0.3s ease;
}

.dragon-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(var(--front-color-rgb), 0.5));
}


/* Status icon */
.status-section {
    position: absolute;
    top: 80px;
    right: 24px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

#status-icon {
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#status-icon.active {
    width: 68px;
    height: 68px;
    opacity: 1;
}

/* Ajustar el header dentro del info-container */
#info-container .site-header {
    position: relative; /* Cambiar de absolute a relative */
    top: 0;
    right: 0;
    left: 0;
    height: 89px;
    overflow: hidden;
    border: 1px solid var(--front-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px; /* Agregar margen inferior */
}

/* Ajustar el tabs-container dentro del info-container */
#info-container #tabs-container {
    position: relative; /* Cambiar de absolute a relative */
    top: 0;
    right: 0;
    display: flex;
    flex-direction: row; /* Cambiar a horizontal */
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    gap: 5px;
    /* margin-bottom: 15px; 
    padding: 5px;
    border: 1px solid var(--front-color);
    border-radius: 4px;
    background-color: var(--bg-color); */
}

/* Ajustar los botones del tabs-container */
#info-container #tabs-container .envelop, 
#info-container #tabs-container .envelop2{
    width: 35px;
    height: 35px;
    color: var(--front-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid var(--front-color);
    position: relative;
    flex: 0 0 auto;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* CSS LIMPIO PARA SELECTOR DE TEMAS */

/* Estado activo específico para botones de tema */
.theme-btn.active {
    background-color: var(--selected-2-color);
}

/* 1) Unifica el contenedor: sin ancho fijo y ocupando la fila */
#tabs-container {
  position: relative;      /* o absolute si de verdad lo quieres flotante */
  top: 0;
  right: 0;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: 100%;    
}

#tabs-container.show-for-admin,
#tabs-container.tabs-hidden {
  display: flex !important;
}

/* Cada grupo en horizontal */
#tabs-container .control-group {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

#info-container #tabs-container {
  justify-content: initial;   /* o quita la propiedad */
  width: 100%;
}

/* 4) Empuja el segundo grupo a la derecha */
#tabs-container .control-group:last-child {
  margin-left: auto;
}

/* 5) (Opcional) limpia reglas que no aplican en flex */
.control-group:first-child,
.control-group:last-child {
  justify-self: auto; /* justify-self no aplica en flex; déjalo neutro o elimínalo */
}
