.variable-manager-unique {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    animation: buttonSlideIn 0.6s ease-out;
}

.add-variable-btn-unique {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    color: #454b65;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.add-variable-btn-unique:hover .btn-icon-unique {
    transform: scale(1.1) rotate(90deg);
}

.add-variable-btn-unique:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Icono del botón principal */
.btn-icon-unique {
    width: 16px;
    height: 16px;
    fill: currentColor; /* Aquí controlamos el color */
    transition: transform 0.3s ease;
}

.btn-text-unique {
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Botón Info */
.info-btn-unique {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: help;
    transition: background 0.3s ease;
    outline: none;
}

.info-btn-unique:hover,
.info-btn-unique:focus {
    background: #e2e8f0;
    border-radius: 50%;
}

/* Icono del botón info */
.info-icon-unique {
    width: 16px;
    height: 16px;
    fill: #64748b;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.info-btn-unique:hover .info-icon-unique,
.info-btn-unique:focus .info-icon-unique {
    fill: #475569;
    transform: scale(1.1);
}

/* Tooltip */
.tooltip-unique {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: #f2f2f4;
    color: #1f2937;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tooltip-unique:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1f2937;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%) rotate(45deg);
}

.info-btn-unique:hover .tooltip-unique,
.info-btn-unique:focus .tooltip-unique {
    opacity: 1;
    visibility: visible;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    background: rgba(68, 75, 102, 0.3);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsivo */
@media (max-width: 640px) {
    .add-variable-btn-unique {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-icon-unique {
        width: 14px;
        height: 14px;
    }

    .info-btn-unique {
        width: 28px;
        height: 28px;
    }

    .info-icon-unique {
        width: 14px;
        height: 14px;
    }
}

@keyframes buttonSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}