/* Estilo base del menú */
.trmax-conversiones-menu {
    position: fixed;
    top: 46px;
    right: 20px;
    z-index: 999999;
}

/* Botón principal circular */
.trmax-main-button {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #B18D4B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.trmax-main-button:hover {
    background-color: #999;
}

/* Contenedor de opciones - ahora horizontal */
.trmax-options {
    position: fixed;
    top: 70px;
    right: 20px;
    min-width: max-content;
    width: 400px;
    max-width: 90vw;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 999998;
    display: none;
    flex-direction: column;
}

.trmax-conversiones-menu.active .trmax-options {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

/* Barra de tabs horizontal */
.trmax-tabs {
    display: flex;
    background: #f8f9fa;    
    padding: 4px;
    border-bottom: 1px solid #ededed;
}

.trmax-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    color: #333 !important;
    font-size: 14px;
    font-weight: 500;
}

.trmax-tab:hover {
    background: #999;
	color: white !important;
}

.trmax-tab.active {
    background: #B18D4B;
    color: white !important;
}

.trmax-tab-icon {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

.trmax-tab-icon-main {
    width: 24px;
    height: 24px;
}

/* Contenido de los tabs */
.trmax-tab-content {
    padding: 15px;
    display: none;
}

.trmax-tab-content.active {
    display: block;
}

/* Opciones dentro de cada tab */
.trmax-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.trmax-option-item {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ededed;
    color: #131313;
}

.trmax-option-item:hover {
    background: #999;
    color: white;
}

.trmax-option-item.selected {
    background: #b18d4b;
    color: white;
}

.trmax-option-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.trmax-option-subtitle {
    font-size: 12px;
    opacity: 0.8;
}
.xcolor {
     color: #333 !important;
}

.trmax-option-active {
    border: 2px solid #0073aa;
    background-color: #f0f8ff;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 500px) {
    .trmax-options {
        width: 95vw;
        right: 2.5vw;
    }
    
    .trmax-options-grid {
        grid-template-columns: 1fr;
    }
}